cartodb-4.42/db/migrate/20160616122125_add_salesforce_connector.rb

12 lines
383 B
Ruby
Raw Normal View History

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