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

19 lines
339 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
alter_table :users do
add_column :company_employees, String
add_column :use_case, String
end
end,
Proc.new do
alter_table :users do
drop_column :company_employees
drop_column :use_case
end
end
)