cartodb-4.42/db/migrate/20140806154519_add_twitter_datasource_quota.rb

12 lines
313 B
Ruby
Raw Normal View History

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