** Execute db:schema:load rake aborted! Mysql::Error: BLOB/TEXT column 'content' can't have a default value: CREATE TABLE `answers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `content` text DEFAULT '' NOT NULL, `approved` tinyint(1) DEFAULT 0, `reference` tinyint(1) DEFAULT 0, `feedback` varchar(255) DEFAULT '', `created_at` datetime, `updated_at` datetime, `question_id` int(11) NOT NULL, `owner_id` int(11), `correct` tinyint(1), `type` varchar(255)) ENGINE=InnoDB Don't know if we want to do something about it but at least we probably can't upgrade to 5.1 before we do something about it.
Works on the server: http://paste.pocoo.org/show/341868/ MySQL 5.1.50 on there. It should not be passing a DEFAULT keyword for the 'content' column.
I have 5.1.53 locally.
This was due to sql-mode = "TRADITIONAL" in my.cnf. I think we should just document that this mode doesn't work.
Please take a look at https://github.com/ahenobarbi/Gentoo-Recruiters-App/commit/7d1d4e5b6b9c6e6199a9c7c9d4536c812bea0984
The application is no longer maintained or used.