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

12 lines
383 B
Ruby

Sequel.migration do
up do
add_column :users, :salesforce_datasource_enabled, :boolean, null: false, default: false
add_column :organizations, :salesforce_datasource_enabled, :boolean, null: false, default: false
end
down do
drop_column :users, :salesforce_datasource_enabled
drop_column :organizations, :salesforce_datasource_enabled
end
end