Sha256: d87529680fba82ef164ac54622e63c4efb4d801681d76f6c9742ce5459e003ff

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

class CreateDiscoAppUsers < ActiveRecord::Migration[5.1]

  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.16.1.pre.sidekiq.pre.6.pre.release db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.16.0 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.17.0 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.18.0 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.18.2 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.18.3 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.18.6 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.16.1 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.18.4 db/migrate/20170327214540_create_disco_app_users.rb
disco_app-0.18.1 db/migrate/20170327214540_create_disco_app_users.rb