DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-core/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-core/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-core/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-core/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/gems/sunrise-core/spec/dummy/config/environment.rb:5) SQL (0.4ms) SHOW TABLES SQL (201.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB SQL (0.6ms) SHOW KEYS FROM `schema_migrations` SQL (320.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to SunriseCreateUsers (20110616102556) SQL (173.5ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(150), `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(128) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `failed_attempts` int(11) DEFAULT 0, `locked_at` datetime, `password_salt` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW KEYS FROM `users` SQL (331.8ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) SQL (0.5ms) SHOW KEYS FROM `users` SQL (298.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) SQL (0.5ms) SHOW KEYS FROM `users` SQL (320.7ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`) SQL (76.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102556') Migrating to SunriseCreateRoles (20110616102656) SQL (153.8ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `role_type` tinyint DEFAULT 0, `user_id` int(11) NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW KEYS FROM `roles` SQL (365.0ms) CREATE INDEX `fk_user` ON `roles` (`user_id`) SQL (65.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102656') Migrating to SunriseCreateStructures (20110616102756) SQL (142.5ms) CREATE TABLE `structures` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) NOT NULL, `slug` varchar(25) NOT NULL, `kind` tinyint DEFAULT 0, `position` smallint DEFAULT 0, `is_visible` tinyint(1) DEFAULT 1, `redirect_url` varchar(255), `parent_id` int(11), `lft` int(11) DEFAULT 0, `rgt` int(11) DEFAULT 0, `depth` int(11) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW KEYS FROM `structures` SQL (309.6ms) CREATE INDEX `index_structures_on_kind_and_slug` ON `structures` (`kind`, `slug`) SQL (0.5ms) SHOW KEYS FROM `structures` SQL (322.5ms) CREATE INDEX `index_structures_on_parent_id` ON `structures` (`parent_id`) SQL (0.6ms) SHOW KEYS FROM `structures` SQL (276.2ms) CREATE INDEX `index_structures_on_lft_and_rgt` ON `structures` (`lft`, `rgt`) SQL (43.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102756') Migrating to SunriseCreatePages (20110616102856) SQL (153.8ms) CREATE TABLE `pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) NOT NULL, `content` text, `structure_id` int(11) NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.4ms) SHOW KEYS FROM `pages` SQL (276.5ms) CREATE INDEX `fk_pages` ON `pages` (`structure_id`) SQL (54.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102856') Migrating to SunriseCreateAssets (20110616102956) SQL (119.4ms) CREATE TABLE `assets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `data_file_name` varchar(255) NOT NULL, `data_content_type` varchar(255), `data_file_size` int(11), `assetable_id` int(11) NOT NULL, `assetable_type` varchar(25) NOT NULL, `type` varchar(25), `guid` varchar(10), `locale` tinyint DEFAULT 0, `user_id` int(11), `sort_order` int(11) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.4ms) SHOW KEYS FROM `assets` SQL (309.8ms) CREATE INDEX `index_assets_on_assetable_type_and_type_and_assetable_id` ON `assets` (`assetable_type`, `type`, `assetable_id`) SQL (0.6ms) SHOW KEYS FROM `assets` SQL (309.8ms) CREATE INDEX `index_assets_on_assetable_type_and_assetable_id` ON `assets` (`assetable_type`, `assetable_id`) SQL (0.6ms) SHOW KEYS FROM `assets` SQL (277.7ms) CREATE INDEX `index_assets_on_user_id` ON `assets` (`user_id`) SQL (43.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102956') Migrating to SunriseCreateHeaders (20110616103056) SQL (142.7ms) CREATE TABLE `headers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `keywords` varchar(255), `description` text, `headerable_type` varchar(30) NOT NULL, `headerable_id` int(11) NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.4ms) SHOW KEYS FROM `headers` SQL (276.6ms) CREATE INDEX `fk_headerable` ON `headers` (`headerable_type`, `headerable_id`) SQL (43.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616103056') SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` SQL (0.2ms) SHOW TABLES SQL (0.5ms) describe `assets` SQL (0.4ms) SHOW KEYS FROM `assets` SQL (0.3ms) describe `headers` SQL (0.3ms) SHOW KEYS FROM `headers` SQL (0.5ms) describe `pages` SQL (0.3ms) SHOW KEYS FROM `pages` SQL (0.5ms) describe `roles` SQL (0.3ms) SHOW KEYS FROM `roles` SQL (0.7ms) describe `structures` SQL (0.4ms) SHOW KEYS FROM `structures` SQL (0.9ms) describe `users` SQL (0.3ms) SHOW KEYS FROM `users` DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/plugins/cms/sunrise-core/spec/dummy/config/environment.rb:5) SQL (22.9ms) SHOW TABLES SQL (322.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB SQL (0.6ms) SHOW KEYS FROM `schema_migrations` SQL (265.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) SQL (0.4ms) SHOW TABLES SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to SunriseCreateUsers (20110616102556) SQL (174.0ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(150), `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(128) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `failed_attempts` int(11) DEFAULT 0, `locked_at` datetime, `password_salt` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.6ms) SHOW KEYS FROM `users` SQL (276.6ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) SQL (0.4ms) SHOW KEYS FROM `users` SQL (345.0ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) SQL (0.7ms) SHOW KEYS FROM `users` SQL (276.2ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`) SQL (43.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102556') Migrating to SunriseCreateRoles (20110616102656) SQL (185.5ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `role_type` tinyint DEFAULT 0, `user_id` int(11) NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.4ms) SHOW KEYS FROM `roles` SQL (299.0ms) CREATE INDEX `fk_user` ON `roles` (`user_id`) SQL (42.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102656') Migrating to SunriseCreateStructures (20110616102756) SQL (152.5ms) CREATE TABLE `structures` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) NOT NULL, `slug` varchar(25) NOT NULL, `kind` tinyint DEFAULT 0, `position` smallint DEFAULT 0, `is_visible` tinyint(1) DEFAULT 1, `redirect_url` varchar(255), `parent_id` int(11), `lft` int(11) DEFAULT 0, `rgt` int(11) DEFAULT 0, `depth` int(11) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW KEYS FROM `structures` SQL (287.5ms) CREATE INDEX `index_structures_on_kind_and_slug` ON `structures` (`kind`, `slug`) SQL (0.5ms) SHOW KEYS FROM `structures` SQL (287.5ms) CREATE INDEX `index_structures_on_parent_id` ON `structures` (`parent_id`) SQL (0.6ms) SHOW KEYS FROM `structures` SQL (322.6ms) CREATE INDEX `index_structures_on_lft_and_rgt` ON `structures` (`lft`, `rgt`) SQL (43.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102756') Migrating to SunriseCreatePages (20110616102856) SQL (164.6ms) CREATE TABLE `pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) NOT NULL, `content` text, `structure_id` int(11) NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.4ms) SHOW KEYS FROM `pages` SQL (287.9ms) CREATE INDEX `fk_pages` ON `pages` (`structure_id`) SQL (43.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102856') Migrating to SunriseCreateAssets (20110616102956) SQL (152.8ms) CREATE TABLE `assets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `data_file_name` varchar(255) NOT NULL, `data_content_type` varchar(255), `data_file_size` int(11), `assetable_id` int(11) NOT NULL, `assetable_type` varchar(25) NOT NULL, `type` varchar(25), `guid` varchar(10), `locale` tinyint DEFAULT 0, `user_id` int(11), `sort_order` int(11) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW KEYS FROM `assets` SQL (276.8ms) CREATE INDEX `index_assets_on_assetable_type_and_type_and_assetable_id` ON `assets` (`assetable_type`, `type`, `assetable_id`) SQL (0.5ms) SHOW KEYS FROM `assets` SQL (276.6ms) CREATE INDEX `index_assets_on_assetable_type_and_assetable_id` ON `assets` (`assetable_type`, `assetable_id`) SQL (0.6ms) SHOW KEYS FROM `assets` SQL (287.6ms) CREATE INDEX `index_assets_on_user_id` ON `assets` (`user_id`) SQL (42.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616102956') Migrating to SunriseCreateHeaders (20110616103056) SQL (155.2ms) CREATE TABLE `headers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `keywords` varchar(255), `description` text, `headerable_type` varchar(30) NOT NULL, `headerable_id` int(11) NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW KEYS FROM `headers` SQL (1049.9ms) CREATE INDEX `fk_headerable` ON `headers` (`headerable_type`, `headerable_id`) SQL (42.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110616103056') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` SQL (0.2ms) SHOW TABLES SQL (0.6ms) describe `assets` SQL (0.4ms) SHOW KEYS FROM `assets` SQL (0.6ms) describe `headers` SQL (0.3ms) SHOW KEYS FROM `headers` SQL (0.6ms) describe `pages` SQL (0.3ms) SHOW KEYS FROM `pages` SQL (0.5ms) describe `roles` SQL (0.3ms) SHOW KEYS FROM `roles` SQL (0.8ms) describe `structures` SQL (0.4ms) SHOW KEYS FROM `structures` SQL (0.9ms) describe `users` SQL (0.4ms) SHOW KEYS FROM `users`