budu/lobos — Issue #38: alter :modify for column re-sizing isn't working
Author: techwhizbang
Created: 2012-03-09 22:13:15+00:00
State: open

I can't seem to get the alter :modify to work, there doesn't seem to be a good example in the doc string nor the test suite covering this. I am using MySQL mysql/mysql-connector-java "5.1.8"

(defmigration alter-ip-address-column-for-ipv6-20120125
(up []
(alter :modify
(table :notifications
(column :ip_address (data-type :varchar 45) :not-null))))

(down []
(alter :modify
(table :notifications
(column :ip_address (data-type :varchar 15))))))