15 lines
295 B
Ruby
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
|
||
|
)
|