cartodb-4.42/db/migrate/20170822082203_add_user_frontend_version_to_users.rb
2024-04-06 05:25:13 +00: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
)