cartodb-4.42/db/migrate/20130424180022_visualizations.rb

15 lines
281 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
class VisualizationsFixMigration < Sequel::Migration
def up
SequelRails.connection.run(%Q{
ALTER TABLE visualizations
ALTER COLUMN map_id
TYPE integer
USING map_id::integer
})
end #up
def down
end #down
end # VisualizationsFixMigration