12 lines
206 B
Ruby
12 lines
206 B
Ruby
|
|
class CreateUsers < ActiveRecord::Migration[5.1]
|
||
|
|
def change
|
||
|
|
create_table :users do |t|
|
||
|
|
t.string :name
|
||
|
|
t.string :email
|
||
|
|
t.string :password_digest
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|