The code powering m.abunchtell.com https://m.abunchtell.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

7 rindas
278 B

  1. class AddOwnerToApplication < ActiveRecord::Migration[4.2]
  2. def change
  3. add_column :oauth_applications, :owner_id, :integer, null: true
  4. add_column :oauth_applications, :owner_type, :string, null: true
  5. add_index :oauth_applications, [:owner_id, :owner_type]
  6. end
  7. end