16 lines
247 B
Ruby
16 lines
247 B
Ruby
|
class CreateUsers < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :users do |t|
|
||
|
t.string :email
|
||
|
t.string :first_name
|
||
|
t.string :last_name
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :users
|
||
|
end
|
||
|
end
|