Sha256: 0794e0789ec228348dd8e83cd84af72f4c3e8bf1bc0a28037b3b61b3424d615c

Contents?: true

Size: 152 Bytes

Versions: 12

Compression:

Stored size: 152 Bytes

Contents

class AddUserIdToWidgets < ActiveRecord::Migration
  def change
    add_column :widgets, :user_id, :integer
    add_index  :widgets, :user_id
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
detour-0.0.15 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.14 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.13 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.12 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.11 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.10 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.9 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.7 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.6 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.5 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.3 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb
detour-0.0.2 spec/dummy/db/migrate/20131218055352_add_user_id_to_widgets.rb