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-1.3.3 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.2 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.1 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb
eitil-1.3.0 spec/dummy_app/db/migrate/20210907131339_add_multiple_columns_to_user.rb