Sha256: e7e89f60cab6be8d5ac5aef8967e5e73229b462a415d41bf55c89c9ba1120ff6

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

class CreateUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :users do |t|
      t.string :uid
      t.string :name

      t.timestamps
    end
    add_index :users, :uid, unique: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-slooob-1.0.0 examples/rails_example/db/migrate/20170827122351_create_users.rb