cartodb/db/migrate/20130424180022_visualizations.rb

15 lines
281 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +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