Sha256: 9ded495e0016b048cd7276e148546fd2c1564bb02348b0919ab10f07f29afe7a

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

require_relative '../../../../db/migrate/rails_api_auth_migration'

class CreateAccounts < RailsAPIAuthMigration

  def change
    create_table :accounts do |t|
      t.string :first_name, null: false
      t.string :last_name,  null: true

      t.timestamps
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_api_auth-0.1.0 spec/dummy/db/migrate/20150803185817_create_accounts.rb
rails_api_auth-0.0.8 spec/dummy/db/migrate/20150803185817_create_accounts.rb