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

15 lines
295 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :frontend_version, :text
add_column :users, :asset_host, :text
end,
Proc.new do
drop_column :users, :frontend_version
drop_column :users, :asset_host
end
)