Sha256: 35f726a84d592fbd252c4cceb0e06f6b03d662eb22a59bb689cd0d515020f3e1

Contents?: true

Size: 238 Bytes

Versions: 15

Compression:

Stored size: 238 Bytes

Contents

class AddStorytimeRoleIdToUsers < ActiveRecord::Migration
  def change
    add_column Storytime.user_class.table_name.to_sym, :storytime_role_id, :integer
    add_index Storytime.user_class.table_name.to_sym, :storytime_role_id
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
storytime-2.1.6 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.1.5 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.1.4 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.1.3 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.1.2 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.1.1 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.1.0 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-2.0.0 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.2.0 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.1.1 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.0.7 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.0.6 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.0.5 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.0.2 db/migrate/20140521191048_add_storytime_role_id_to_users.rb
storytime-1.0.1 db/migrate/20140521191048_add_storytime_role_id_to_users.rb