cartodb/db/migrate/20110407105539_add_invite_token_to_users.rb

14 lines
270 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +08:00
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