cartodb-4.42/db/migrate/20110407105539_add_invite_token_to_users.rb

14 lines
270 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +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