cartodb/db/migrate/20140806154519_add_twitter_datasource_quota.rb

12 lines
313 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
up do
add_column :users, :twitter_datasource_quota, :integer, default: 0
add_column :organizations, :twitter_datasource_quota, :integer, default: 0
end
down do
drop_column :users, :twitter_datasource_quota
drop_column :organizations, :twitter_datasource_quota
end
end