cartodb-4.42/db/migrate/20190612101226_add_signup_fields_to_users.rb

19 lines
339 B
Ruby
Raw Normal View History

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