(1.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030)  (40.8ms) ALTER TABLE `spud_page_partials` ADD `symbol_name` varchar(255)  (1.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120911190030')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (40.6ms) DROP DATABASE IF EXISTS `spud_cms_test`  (0.2ms) CREATE DATABASE `spud_cms_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (16.4ms) CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `scope` varchar(255)) ENGINE=InnoDB  (16.2ms) CREATE TABLE `spud_menu_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_type` varchar(255), `parent_id` int(11), `item_type` int(11), `spud_page_id` int(11), `menu_order` int(11) DEFAULT 0, `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `spud_menu_id` int(11), `classes` varchar(255)) ENGINE=InnoDB  (24.5ms) CREATE INDEX `index_spud_menu_items_on_menu_order` ON `spud_menu_items` (`menu_order`)  (15.3ms) CREATE INDEX `index_spud_menu_items_on_parent_type_and_parent_id` ON `spud_menu_items` (`parent_type`, `parent_id`)  (15.4ms) CREATE INDEX `index_spud_menu_items_on_spud_menu_id` ON `spud_menu_items` (`spud_menu_id`)  (15.5ms) CREATE TABLE `spud_menus` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `description` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11) DEFAULT 0) ENGINE=InnoDB  (16.4ms) CREATE INDEX `index_spud_menus_on_site_id` ON `spud_menus` (`site_id`)  (10.9ms) CREATE TABLE `spud_page_partial_revisions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `spud_page_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (13.8ms) CREATE INDEX `revision_idx` ON `spud_page_partial_revisions` (`spud_page_id`, `name`)  (14.1ms) CREATE TABLE `spud_page_partials` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_page_id` int(11), `name` varchar(255), `content` text, `format` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `symbol_name` varchar(255)) ENGINE=InnoDB  (15.9ms) CREATE INDEX `index_spud_page_partials_on_spud_page_id` ON `spud_page_partials` (`spud_page_id`)  (11.1ms) CREATE TABLE `spud_pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url_name` varchar(255), `publish_at` datetime, `created_by` int(11), `updated_by` int(11), `format` varchar(255) DEFAULT 'html', `spud_page_id` int(11), `meta_description` text, `meta_keywords` varchar(255), `page_order` int(11), `template_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `visibility` int(11) DEFAULT 0, `published` tinyint(1) DEFAULT 1, `use_custom_url_name` tinyint(1) DEFAULT 0, `notes` text, `site_id` int(11) DEFAULT 0) ENGINE=InnoDB  (14.2ms) CREATE INDEX `index_spud_pages_on_site_id` ON `spud_pages` (`site_id`)  (10.4ms) CREATE TABLE `spud_permalinks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url_name` varchar(255), `attachment_type` varchar(255), `attachment_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB  (14.4ms) CREATE INDEX `index_spud_permalinks_on_attachment_type_and_attachment_id` ON `spud_permalinks` (`attachment_type`, `attachment_id`)  (13.7ms) CREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)  (12.5ms) CREATE TABLE `spud_templates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `base_layout` varchar(255), `content` text, `page_parts` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11) DEFAULT 0) ENGINE=InnoDB  (17.8ms) CREATE INDEX `index_spud_templates_on_site_id` ON `spud_templates` (`site_id`)  (11.3ms) CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (11.7ms) CREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `time_zone` varchar(255)) ENGINE=InnoDB  (13.1ms) CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)  (13.1ms) CREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)  (11.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (14.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (1.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120911190030')  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101192412')  (0.7ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101193138')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101193255')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101194124')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120103034659')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120104194032')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120107181337')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120111134754')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120118141852')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120126232428')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120128163601')  (0.7ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132314')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132322')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132330')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120510195151')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to AddSymbolNameToSpudPagePartials (20120911190030)  (37.9ms) ALTER TABLE `spud_page_partials` DROP `symbol_name`  (0.4ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20120911190030'  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030)  (12.0ms) ALTER TABLE `spud_page_partials` ADD `symbol_name` varchar(255)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120911190030') Migrating to ModifySiteIdForSpudPages (20120912121313)  (19.1ms) ALTER TABLE `spud_pages` CHANGE `site_id` `site_id` int(11) DEFAULT 0 NOT NULL  (13.1ms) ALTER TABLE `spud_templates` CHANGE `site_id` `site_id` int(11) DEFAULT 0 NOT NULL  (12.9ms) ALTER TABLE `spud_menus` CHANGE `site_id` `site_id` int(11) DEFAULT 0 NOT NULL Creating scope :public. Overwriting existing method SpudPage.public. SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` IS NULL SpudTemplate Load (0.1ms) SELECT `spud_templates`.* FROM `spud_templates` WHERE `spud_templates`.`site_id` IS NULL SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`site_id` IS NULL  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120912121313')  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (2.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030) Migrating to ModifySiteIdForSpudPages (20120912121313) Migrating to AddContentProcessedToSpudPagePartials (20121016233715)  (25.8ms) ALTER TABLE `spud_page_partials` ADD `content_processed` text  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121016233715')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (1.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030) Migrating to ModifySiteIdForSpudPages (20120912121313) Migrating to AddContentProcessedToSpudPagePartials (20121016233715)  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (1.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (7.9ms) DROP DATABASE IF EXISTS `spud_cms_test`  (0.2ms) CREATE DATABASE `spud_cms_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (21.2ms) CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `scope` varchar(255)) ENGINE=InnoDB  (8.2ms) CREATE TABLE `spud_menu_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_type` varchar(255), `parent_id` int(11), `item_type` int(11), `spud_page_id` int(11), `menu_order` int(11) DEFAULT 0, `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `spud_menu_id` int(11), `classes` varchar(255)) ENGINE=InnoDB  (11.0ms) CREATE INDEX `index_spud_menu_items_on_menu_order` ON `spud_menu_items` (`menu_order`)  (11.8ms) CREATE INDEX `index_spud_menu_items_on_parent_type_and_parent_id` ON `spud_menu_items` (`parent_type`, `parent_id`)  (13.1ms) CREATE INDEX `index_spud_menu_items_on_spud_menu_id` ON `spud_menu_items` (`spud_menu_id`)  (12.9ms) CREATE TABLE `spud_menus` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `description` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11) DEFAULT 0 NOT NULL) ENGINE=InnoDB  (11.8ms) CREATE INDEX `index_spud_menus_on_site_id` ON `spud_menus` (`site_id`)  (9.9ms) CREATE TABLE `spud_page_partial_revisions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `spud_page_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (12.1ms) CREATE INDEX `revision_idx` ON `spud_page_partial_revisions` (`spud_page_id`, `name`)  (8.6ms) CREATE TABLE `spud_page_partials` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_page_id` int(11), `name` varchar(255), `content` text, `format` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `symbol_name` varchar(255), `content_processed` text) ENGINE=InnoDB  (15.1ms) CREATE INDEX `index_spud_page_partials_on_spud_page_id` ON `spud_page_partials` (`spud_page_id`)  (9.0ms) CREATE TABLE `spud_pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url_name` varchar(255), `publish_at` datetime, `created_by` int(11), `updated_by` int(11), `format` varchar(255) DEFAULT 'html', `spud_page_id` int(11), `meta_description` text, `meta_keywords` varchar(255), `page_order` int(11), `template_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `visibility` int(11) DEFAULT 0, `published` tinyint(1) DEFAULT 1, `use_custom_url_name` tinyint(1) DEFAULT 0, `notes` text, `site_id` int(11) DEFAULT 0 NOT NULL) ENGINE=InnoDB  (11.7ms) CREATE INDEX `index_spud_pages_on_site_id` ON `spud_pages` (`site_id`)  (10.0ms) CREATE TABLE `spud_permalinks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url_name` varchar(255), `attachment_type` varchar(255), `attachment_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB  (11.8ms) CREATE INDEX `index_spud_permalinks_on_attachment_type_and_attachment_id` ON `spud_permalinks` (`attachment_type`, `attachment_id`)  (9.9ms) CREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)  (13.9ms) CREATE TABLE `spud_templates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `base_layout` varchar(255), `content` text, `page_parts` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11) DEFAULT 0 NOT NULL) ENGINE=InnoDB  (13.0ms) CREATE INDEX `index_spud_templates_on_site_id` ON `spud_templates` (`site_id`)  (10.3ms) CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (10.8ms) CREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `time_zone` varchar(255)) ENGINE=InnoDB  (11.7ms) CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)  (11.1ms) CREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)  (10.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (12.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121016233715')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120307002859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120307002860')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120307003559')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123555')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123556')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123557')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123615')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101192412')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101193138')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101193255')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101194124')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120103034659')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120104194032')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120107181337')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120111134754')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120118141852')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120126232428')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120128163601')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132314')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132322')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132330')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120510195151')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120911190030')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120912121313') Connecting to database specified by database.yml  (3.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030) Migrating to ModifySiteIdForSpudPages (20120912121313) Migrating to AddContentProcessedToSpudPagePartials (20121016233715) Migrating to AddLayoutToSpudPages (20121112151110)  (26.6ms) ALTER TABLE `spud_pages` ADD `layout` varchar(255)  (14.1ms) ALTER TABLE `spud_pages` DROP `template_id`  (1.7ms) DROP TABLE `spud_templates`  (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121112151110')  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (1.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030) Migrating to ModifySiteIdForSpudPages (20120912121313) Migrating to AddContentProcessedToSpudPagePartials (20121016233715) Migrating to AddLayoutToSpudPages (20121112151110)  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (1.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (14.1ms) DROP DATABASE IF EXISTS `spud_cms_test`  (0.3ms) CREATE DATABASE `spud_cms_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (20.8ms) CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `scope` varchar(255)) ENGINE=InnoDB  (16.6ms) CREATE TABLE `spud_menu_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_type` varchar(255), `parent_id` int(11), `item_type` int(11), `spud_page_id` int(11), `menu_order` int(11) DEFAULT 0, `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `spud_menu_id` int(11), `classes` varchar(255)) ENGINE=InnoDB  (12.0ms) CREATE INDEX `index_spud_menu_items_on_menu_order` ON `spud_menu_items` (`menu_order`)  (13.6ms) CREATE INDEX `index_spud_menu_items_on_parent_type_and_parent_id` ON `spud_menu_items` (`parent_type`, `parent_id`)  (13.8ms) CREATE INDEX `index_spud_menu_items_on_spud_menu_id` ON `spud_menu_items` (`spud_menu_id`)  (11.6ms) CREATE TABLE `spud_menus` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `description` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11) DEFAULT 0 NOT NULL) ENGINE=InnoDB  (12.7ms) CREATE INDEX `index_spud_menus_on_site_id` ON `spud_menus` (`site_id`)  (9.2ms) CREATE TABLE `spud_page_partial_revisions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `spud_page_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (13.0ms) CREATE INDEX `revision_idx` ON `spud_page_partial_revisions` (`spud_page_id`, `name`)  (9.9ms) CREATE TABLE `spud_page_partials` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_page_id` int(11), `name` varchar(255), `content` text, `format` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `symbol_name` varchar(255), `content_processed` text) ENGINE=InnoDB  (14.6ms) CREATE INDEX `index_spud_page_partials_on_spud_page_id` ON `spud_page_partials` (`spud_page_id`)  (8.9ms) CREATE TABLE `spud_pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url_name` varchar(255), `publish_at` datetime, `created_by` int(11), `updated_by` int(11), `format` varchar(255) DEFAULT 'html', `spud_page_id` int(11), `meta_description` text, `meta_keywords` varchar(255), `page_order` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `visibility` int(11) DEFAULT 0, `published` tinyint(1) DEFAULT 1, `use_custom_url_name` tinyint(1) DEFAULT 0, `notes` text, `site_id` int(11) DEFAULT 0 NOT NULL, `layout` varchar(255)) ENGINE=InnoDB  (13.6ms) CREATE INDEX `index_spud_pages_on_site_id` ON `spud_pages` (`site_id`)  (13.1ms) CREATE TABLE `spud_permalinks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url_name` varchar(255), `attachment_type` varchar(255), `attachment_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB  (13.7ms) CREATE INDEX `index_spud_permalinks_on_attachment_type_and_attachment_id` ON `spud_permalinks` (`attachment_type`, `attachment_id`)  (12.5ms) CREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)  (11.8ms) CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (12.6ms) CREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `time_zone` varchar(255)) ENGINE=InnoDB  (13.4ms) CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)  (13.4ms) CREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)  (10.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (13.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121112151110')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120307002859')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120307002860')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120307003559')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123555')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123556')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123557')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120610123615')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101192412')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101193138')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101193255')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120101194124')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120103034659')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120104194032')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120107181337')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120111134754')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120118141852')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120126232428')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120128163601')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132314')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132322')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120329132330')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120510195151')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120911190030')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120912121313')  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20121016233715') Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public.  (6.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateSpudPages (20120101192412) Migrating to CreateSpudMenus (20120101193138) Migrating to CreateSpudMenuItems (20120101193255) Migrating to CreateSpudTemplates (20120101194124) Migrating to CreateSpudPagePartials (20120103034659) Migrating to AddVisibilityToSpudPages (20120104194032) Migrating to AddMenuNameToSpudMenuItems (20120107181337) Migrating to AddUseCustomUrlNameToSpudPages (20120111134754) Migrating to AddNotesToSpudPages (20120118141852) Migrating to AddMenuIdToSpudMenuItems (20120126232428) Migrating to AddClassesToSpudMenuItems (20120128163601) Migrating to CreateSpudAdminPermissions (20120307002859) Migrating to CreateSpudUsers (20120307002860) Migrating to CreateSpudPermalinks (20120307003559) Migrating to AddSiteIdToSpudPages (20120329132314) Migrating to AddSiteIdToSpudTemplates (20120329132322) Migrating to AddSiteIdToSpudMenus (20120329132330) Migrating to CreateSpudPagePartialRevisions (20120510195151) Migrating to AddTimeZoneToSpudUser (20120610123555) Migrating to AddScopeToSpudAdminPermissions (20120610123556) Migrating to CreateSpudUserSettings (20120610123557) Migrating to AddSiteIdToSpudPermalinks (20120610123615) Migrating to AddSymbolNameToSpudPagePartials (20120911190030) Migrating to ModifySiteIdForSpudPages (20120912121313) Migrating to AddContentProcessedToSpudPagePartials (20121016233715) Migrating to AddLayoutToSpudPages (20121112151110) Migrating to CreateSpudPageLiquidTags (20121112212113)  (36.4ms) CREATE TABLE `spud_page_liquid_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_page_partial_id` int(11), `tag_name` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (26.9ms) CREATE INDEX `index_spud_page_liquid_tags_on_tag_name_and_value` ON `spud_page_liquid_tags` (`tag_name`, `value`)  (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121112212113') Migrating to CreateSpudSnippets (20121119025608)  (14.6ms) CREATE TABLE `spud_snippets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `content_processed` text, `site_id` int(11) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (24.7ms) CREATE INDEX `index_spud_snippets_on_site_id` ON `spud_snippets` (`site_id`)  (14.6ms) CREATE INDEX `index_spud_snippets_on_name` ON `spud_snippets` (`name`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121119025608') Migrating to ChangeLiquidTagsToPolymorphic (20121119030136)  (0.7ms) SHOW COLUMNS FROM `spud_page_liquid_tags` LIKE 'spud_page_partial_id'  (22.6ms) ALTER TABLE `spud_page_liquid_tags` CHANGE `spud_page_partial_id` `attachment_id` int(11) DEFAULT NULL  (18.2ms) ALTER TABLE `spud_page_liquid_tags` ADD `attachment_type` varchar(255)  (13.3ms) CREATE INDEX `index_spud_page_liquid_tags_on_attachment_type_and_attachment_id` ON `spud_page_liquid_tags` (`attachment_type`, `attachment_id`) SpudPageLiquidTag Load (0.1ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags`   (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121119030136')  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`