Sha256: b69d932a2e8925de51e1c8c8270f065e6e2be2c4eadc10215245c8aadac71a4a

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

class CreatePreRegistrations < ActiveRecord::Migration[5.2]
  def change
    create_table :mr_common_pre_registrations do |t|
      t.string :email, null: false, default: ""
      t.string :first_name, null: false, default: ""
      t.string :last_name, null: false, default: ""
      t.string :normalized_name, null: false, default: ""
    end
    add_index :mr_common_pre_registrations, :email, unique: true
    add_index :mr_common_pre_registrations, :normalized_name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mr_common-2.1.0 db/migrate/20190522151523_create_pre_registrations.rb
mr_common-2.0.0 db/migrate/20190522151523_create_pre_registrations.rb