Sha256: d26e20a86f4ec3ef233c26c3360aa986379c4de827e39c8c1859d27c7c977c70

Contents?: true

Size: 321 Bytes

Versions: 10

Compression:

Stored size: 321 Bytes

Contents

class CreateDiscoAppUsers < ActiveRecord::Migration
  def change
    create_table :disco_app_users do |t|
      t.integer :shop_id, limit: 8
      t.string :first_name
      t.string :last_name
      t.string :email

      t.timestamps null: false
    end
    add_index :disco_app_users, :shop_id, unique: true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
disco_app-0.13.0 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.1 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.2 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.3 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.4 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.5 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.6 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.7 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.8 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.13.6.pre.puma.pre.3 db/migrate/20170327214540_create_disco_app_users.rb