cartodb-4.42/db/migrate/20130424180022_visualizations.rb
2024-04-06 05:25:13 +00:00

15 lines
281 B
Ruby

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