cartodb-4.42/db/migrate/20190822115827_chage_user_tables_oid.rb

17 lines
286 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 :user_tables do
set_column_type :table_id, :oid
end
end,
Proc.new do
alter_table :user_tables do
set_column_type :table_id, Integer
end
end
)