Sha256: 534b3a54a8606025849d0aa97d8abf7a8a0890594d9876d4a66559dabc012ccb

Contents?: true

Size: 252 Bytes

Versions: 24

Compression:

Stored size: 252 Bytes

Contents

class AddMultipleColumnsToUser < ActiveRecord::Migration[6.1]
  def change
    add_column :users, :confirmed, :boolean
    add_column :users, :last_sign_in, :datetime
    add_column :users, :age, :integer
    add_column :users, :wage, :float
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
eitil-2.0.8 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.7 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.6 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.5 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.4 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.3 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.2 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.1 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-2.0.0 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.4.1 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.4.0 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.12 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.11 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.10 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.9 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.8 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.7 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.6 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.5 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.4 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb