Files
railsgoat/db/migrate/20130424220355_create_users.rb
T
robbiepaul 298610b5f6
CI / test (3.4.1) (push) Has been cancelled
Initial commit (history cleared)
2026-04-29 11:21:39 +01:00

16 lines
309 B
Ruby
Executable File

# frozen_string_literal: true
class CreateUsers < ActiveRecord::Migration[4.2]
def change
create_table :users do |t|
t.string :email
t.string :password
t.boolean :admin
t.string :first_name
t.string :last_name
t.integer :user_id
t.timestamps
end
end
end