Sha256: 7f53cbda1debfeebdc73ae5cd95a0b61e431a91839a7a39c8c8e5f029db0a82d

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

class AddColsToRegistrations < ActiveRecord::Migration[5.1]
  def change
    add_column :registrations, :accept_terms, :boolean, default: false
    add_column :registrations, :sex, :string
    add_column :registrations, :favorite_color, :string
    add_column :registrations, :prog_languages, :string
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
emphatic_invalids-0.1.2 test/dummy/db/migrate/20170712162437_add_cols_to_registrations.rb
emphatic_invalids-0.0.1 test/dummy/db/migrate/20170712162437_add_cols_to_registrations.rb
emphatic_invalids-0.1.1 test/dummy/db/migrate/20170712162437_add_cols_to_registrations.rb
emphatic_invalids-0.1.0 test/dummy/db/migrate/20170712162437_add_cols_to_registrations.rb