{"comment":{"created_at":"2011-10-08T03:40:48Z","body":"Why don't we just move `sqlite3` to development and test groups and `mysql2` to the production group?","updated_at":"2011-10-08T03:40:48Z","url":"https://api.github.com/repos/engineyard/todo/issues/comments/2330357","id":2330357,"user":{"avatar_url":"https://secure.gravatar.com/avatar/964c068a0bce23ae74d183fa6e3f9798?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/emachnic","id":169018,"login":"emachnic"}},"action":"created","issue":{"number":4,"created_at":"2011-09-17T12:31:40Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"In 1.9.2 and jruby:\r\n\r\n```\r\n$ be rake db:migrate RAILS_ENV=production\r\n==  CreateTasks: migrating ====================================================\r\n-- create_table(:tasks)\r\n   -> 0.0040s\r\n   -> 0 rows\r\n==  CreateTasks: migrated (0.0110s) ===========================================\r\n\r\n==  CreateLists: migrating ====================================================\r\n-- create_table(:lists)\r\n   -> 0.0040s\r\n   -> 1 rows\r\n==  CreateLists: migrated (0.0060s) ===========================================\r\n\r\n==  AddListIdToTask: migrating ================================================\r\n-- add_column(:tasks, :list_id, :integer)\r\n   -> 0.0040s\r\n   -> 1 rows\r\n==  AddListIdToTask: migrated (0.0050s) =======================================\r\n\r\n==  AddLists: migrating =======================================================\r\nrake aborted!\r\nAn error has occurred, this and all later migrations canceled:\r\n\r\nuninitialized constant AddLists::List\r\n\r\nTasks: TOP => db:migrate\r\n(See full trace by running task with --trace)\r\n```","comments":2,"title":"db:migrate failing in production","updated_at":"2011-10-08T03:40:48Z","url":"https://api.github.com/repos/engineyard/todo/issues/4","id":1668770,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/cb2b768a5e546b24052ea03334e43676?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/drnic","id":108,"login":"drnic"},"html_url":"https://github.com/engineyard/todo/issues/4","labels":[],"state":"open"},"legacy":{"issue_id":1668770,"comment_id":2330357}}