Skip to content

Instantly share code, notes, and snippets.

@jesjos
Created March 9, 2012 14:05
Show Gist options
  • Save jesjos/2006636 to your computer and use it in GitHub Desktop.
Save jesjos/2006636 to your computer and use it in GitHub Desktop.
Seed script error
(0.6ms) COMMIT
(0.2ms) BEGIN
Repository Exists (0.3ms) SELECT 1 FROM `repositories` WHERE `repositories`.`hashed_path` = '' LIMIT 1
SQL (0.4ms) INSERT INTO `repositories` (`created_at`, `hashed_path`, `kind`, `mainline`, `name`, `owner_id`, `owner_type`, `parent_id`, `project_id`, `ready`, `updated_at`, `user_id`) VALUES ('2012-03-09 14:04:31', '9b8/ed5/fb97394af9de3afe7573aafa4246065e04', 0, 0, 'repo1', 1, 'User', NULL, NULL, 0, '2012-03-09 14:04:31', 1)
Mysql2::Error: Unknown column 'mainline' in 'field list': INSERT INTO `repositories` (`created_at`, `hashed_path`, `kind`, `mainline`, `name`, `owner_id`, `owner_type`, `parent_id`, `project_id`, `ready`, `updated_at`, `user_id`) VALUES ('2012-03-09 14:04:31', '9b8/ed5/fb97394af9de3afe7573aafa4246065e04', 0, 0, 'repo1', 1, 'User', NULL, NULL, 0, '2012-03-09 14:04:31', 1)
(0.2ms) ROLLBACK
rake aborted!
Mysql2::Error: Unknown column 'mainline' in 'field list': INSERT INTO `repositories` (`created_at`, `hashed_path`, `kind`, `mainline`, `name`, `owner_id`, `owner_type`, `parent_id`, `project_id`, `ready`, `updated_at`, `user_id`) VALUES ('2012-03-09 14:04:31', '9b8/ed5/fb97394af9de3afe7573aafa4246065e04', 0, 0, 'repo1', 1, 'User', NULL, NULL, 0, '2012-03-09 14:04:31', 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment