add: pm_links index options
This commit is contained in:
		
							parent
							
								
									e2c3de3601
								
							
						
					
					
						commit
						f079a812b1
					
				| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
class CreatePmLinks < ActiveRecord::Migration[5.2]
 | 
					class CreatePmLinks < ActiveRecord::Migration[5.2]
 | 
				
			||||||
  def change
 | 
					  def change
 | 
				
			||||||
    create_table :pm_links do |t|
 | 
					    create_table :pm_links, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8' do |t|
 | 
				
			||||||
      t.string :be_linkable_type, null: false
 | 
					      t.string :be_linkable_type, null: false
 | 
				
			||||||
      t.integer :be_linkable_id, null: false
 | 
					      t.integer :be_linkable_id, null: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue