add migration to increase links url size (#683)

This commit is contained in:
Will Power
2020-07-17 10:38:04 +01:00
committed by GitHub
parent 73b4afdb2b
commit 5c7802d218
@@ -0,0 +1,11 @@
module Postal
module MessageDB
module Migrations
class IncreaseLinksUrlSize < Postal::MessageDB::Migration
def up
@database.query("ALTER TABLE `#{@database.database_name}`.`links` MODIFY `url` TEXT")
end
end
end
end
end