cartodb/db/migrate/20110407105539_add_invite_token_to_users.rb
2020-06-15 10:58:47 +08:00

14 lines
270 B
Ruby

class AddInviteTokenToUsersMigration < Sequel::Migration
def up
add_column :users, :invite_token, String
add_column :users, :invite_token_date, Date
end
def down
drop_column :users, :invite_token
drop_column :users, :invite_token_date
end
end