SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (41.1ms) CREATE DATABASE `periodic_counter` DEFAULT CHARACTER SET `utf8` SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (222.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB SQL (94.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) SQL (0.6ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_1_day` int(11), `counter_last_1_week` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (28.1ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (20.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (42.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (1.5ms) SHOW FIELDS FROM `counters` SQL (1.8ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (38.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (1.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.9ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (46.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (40.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (1.9ms) SHOW FIELDS FROM `counters` SQL (2.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.1ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (51.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.4ms) SHOW TABLES SQL (1.7ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.2ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (46.8ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (26.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (1.7ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (1.0ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (44.1ms) DROP TABLE `counters` SQL (3.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (7.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.3ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (1.2ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (44.3ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.3ms) SHOW TABLES SQL (3.3ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (53.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.8ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-09 23:52:28', 1, 1, 1, 1)  SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (3.6ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (94.6ms) SELECT version FROM schema_migrations SQL (4.9ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (1.4ms) SELECT version FROM schema_migrations SQL (1.7ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (23.5ms) DROP TABLE `counters` SQL (1.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (4.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (2.2ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (1.6ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-09 23:52:57', 1, 1, 1, 1)  SQL (0.3ms) SHOW TABLES SQL (2.9ms) SHOW FIELDS FROM `counters` SQL (5.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (1.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (1.3ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-09 23:59:18', 1, 1, 1, 1)  SQL (0.4ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (42.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.7ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:13:13', 1, 1, 1, 1)  SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (66.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.0ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-09 00:15:34', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (67.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.0ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-09 00:16:12', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (47.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.8ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:19:12', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (68.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (1.0ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:19:56', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (37.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.7ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:30:19', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (2.5ms) SET SQL_AUTO_IS_NULL=0 SQL (0.5ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (1.3ms) SHOW TABLES SQL (2.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (41.2ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (3.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (10.7ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.6ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:31:16', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.2ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (51.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (8.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (47.4ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:36:34', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (54.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.9ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:39:28', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms) Mysql::Error: Unknown column 'countercounter_computed_atcounter_starting_valuecounter_last_day' in 'field list': SELECT countercounter_computed_atcounter_starting_valuecounter_last_daycounter_last_2_dayscounter_last_weekcounter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.6ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:39:42', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (36.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.7ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:40:20', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (61.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.9ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:42:56', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (60.2ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.6ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:43:21', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (25.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.7ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:45:44', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (43.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.6ms)  INSERT INTO counters ( counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks ) VALUES (2, '2010-06-10 00:46:41', 1, 1, 1, 1)  SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (28.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 17:48:23', 1, 1, 2, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.6ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (448.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (18.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (233.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 17:49:29', 1, 1, 3, 1) SQL (11.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (3.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (11.5ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (40.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (1.0ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 17:50:38', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (43.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 17:57:41', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 17:58:00', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (41.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.7ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:00:39', 1, 1, 3, 1) SQL (10.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (1.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:00:39', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (38.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (3.1ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:26', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (10.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:26', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.7ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:26', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.9ms) DROP TABLE `counters` SQL (10.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (94.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (11.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (17.2ms) SHOW FIELDS FROM `counters` SQL (11.1ms) BEGIN Counter Create (1.7ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:49', 1, 1, 3, 1) SQL (2.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.3ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (3.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.7ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:50', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:50', 1, 1, 3, 1) SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.3ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:01:50', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (65.1ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:03:12', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:03:12', 1, 1, 3, 1) SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.7ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:03:12', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.9ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 18:03:12', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (12.0ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (49.4ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:07:13', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:07:13', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (2.3ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (12.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:07:14', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (11.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:07:14', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.8ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.1ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.5ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:07:14', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (11.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (41.7ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (46.3ms) DROP TABLE `counters` SQL (26.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (69.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (23.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (4.4ms) SHOW FIELDS FROM `counters` SQL (1.4ms) BEGIN Counter Create (10.9ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:08:14', 1, 1, 3, 1) SQL (10.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (1.1ms) SELECT version FROM schema_migrations SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (4.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (3.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.3ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (1.2ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:08:14', 1, 1, 3, 1) SQL (1.3ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.5ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (11.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:08:15', 1, 1, 3, 1) SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (9.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:08:15', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:08:15', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (9.9ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (38.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.1ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:09:18', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.9ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (9.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:09:18', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (49.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (3.1ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:09:18', 1, 1, 3, 1) SQL (8.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (6.6ms) DROP TABLE `counters` SQL (4.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (38.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (7.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:09:19', 1, 1, 3, 1) SQL (5.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.8ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (16.2ms) DROP TABLE `counters` SQL (14.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (10.2ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (5.0ms) DROP TABLE `counters` SQL (2.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (8.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (2.8ms) DROP TABLE `counters` SQL (5.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.1ms) BEGIN Counter Create (1.9ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:09:19', 1, 1, 3, 1) SQL (7.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (71.5ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.1ms) SHOW FIELDS FROM `counters` SQL (2.0ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:24:05', 1, 1, 3, 1) SQL (3.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (1.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (12.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (1.0ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:24:05', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (12.2ms) SHOW TABLES SQL (3.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.7ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:24:05', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.4ms) DROP TABLE `counters` SQL (38.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (69.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (15.7ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (2.5ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:24:05', 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (40.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (13.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (15.9ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (10.8ms) DROP TABLE `counters` SQL (15.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (5.8ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (26.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (2.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (4.1ms) DROP TABLE `counters` SQL (28.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:24:05', 1, 1, 3, 1) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (43.5ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:13', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (12.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:13', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:13', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:13', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (9.6ms) DROP TABLE `counters` SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.4ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:13', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Columns (0.0ms) SHOW FIELDS FROM `counters` Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (9.8ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:34', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:34', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.4ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:34', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (1.8ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:25:34', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (5.9ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.5ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_with_starting_value`, `counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, '2010-06-09 23:25:34', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (28.7ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (8.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:28:49', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.9ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (4.0ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:28:49', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.9ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.0ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:28:49', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.7ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:28:49', 1, 1, 3, 1) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.5ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (1.2ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_with_starting_value`, `counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, '2010-06-09 23:28:49', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (15.0ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (7.7ms) DROP TABLE `counters` SQL (2.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (3.0ms) SHOW TABLES SQL (3.8ms) SELECT version FROM schema_migrations SQL (2.6ms) SHOW TABLES SQL (2.8ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (7.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (2.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.9ms) SHOW FIELDS FROM `counters` SQL (4.4ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:29:16', 1, 1, 3, 1) SQL (42.3ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (11.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:29:16', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:29:16', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:29:16', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_with_starting_value`, `counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, '2010-06-09 23:29:16', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (62.2ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (3.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:13', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:13', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.6ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:13', 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.6ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:13', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (1.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.5ms) DROP TABLE `counters` SQL (1.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_with_starting_value`, `counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, '2010-06-09 23:34:13', 1, 1, 3, 1) SQL (11.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (42.4ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (19.5ms) DROP TABLE `counters` SQL (70.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (7.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (6.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.2ms) SHOW FIELDS FROM `counters` SQL (5.5ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:43', 1, 1, 3, 1) SQL (8.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (17.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (1.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:43', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:43', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (2.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:43', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (3.0ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (2.5ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_with_starting_value`, `counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, '2010-06-09 23:34:43', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (9.9ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (55.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.1ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:34:59', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:35:00', 1, 1, 3, 1) SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:35:00', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:35:00', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (2.2ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.9ms) DROP TABLE `counters` SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.9ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_with_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_with_starting_value`, `counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, '2010-06-09 23:35:00', 1, 1, 3, 1) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (9.8ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (32.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:36:17', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:36:17', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (1.3ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.4ms) SHOW TABLES SQL (1.7ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (12.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:36:17', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.2ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:36:17', 1, 1, 3, 1) SQL (1.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (2.5ms) DROP TABLE `counters` SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:36:18', 1, 1, 3, NULL, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = -1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (9.9ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (54.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:39:55', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (12.0ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:39:55', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.9ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:39:55', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (25.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (1.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:39:55', 1, 1, 3, 1) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (2.2ms) DROP TABLE `counters` SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:39:55', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (13.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 5 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (36.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (10.4ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (34.3ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (3.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (38.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.8ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:41:10', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:41:10', 1, 1, 3, 1) SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) DROP TABLE `counters` SQL (11.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:41:10', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:41:10', 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.9ms) SHOW TABLES SQL (1.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.4ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:41:10', 1, 1, 3, NULL, 1) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 5 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (10.2ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (39.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:05', 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:05', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:05', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (41.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:05', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.6ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.9ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:05', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.5ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.8ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.8ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 5 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (9.9ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:25', 1, 1, 3, 1) SQL (5.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (1.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:25', 1, 1, 3, 1) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:25', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:25', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (2.2ms) DROP TABLE `counters` SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.1ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:42:25', 1, 1, 3, NULL, 1) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (25.3ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:33', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:33', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:33', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:33', 1, 1, 3, 1) SQL (11.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (1.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.5ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (2.1ms) DROP TABLE `counters` SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:33', 1, 1, 3, NULL, 1) SQL (0.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.1ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (9.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.2ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:33', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (1.2ms) SHOW TABLES SQL (2.8ms) SHOW FIELDS FROM `counters` SQL (1.8ms) SHOW FIELDS FROM `schema_migrations` SQL (1.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 1, counter_last_2_days = 2, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.8ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (2.1ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (73.0ms) DROP TABLE `counters` SQL (42.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (28.0ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (31.5ms) DROP TABLE `counters` SQL (37.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (1.4ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:34', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.9ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.8ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (6.3ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (1.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.8ms) DROP TABLE `counters` SQL (1.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (1.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-09 23:46:34', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (1.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.8ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_last_week = 2, counter_last_2_days = 2, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (17.5ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (5.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (29.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:34', 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:34, counter_last_week = 1, counter_last_2_days = 1 WHERE i' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = 2010-06-11 16:44:34, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (17.7ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:35', 1, 1, 3, 1) SQL (5.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:35, counter_last_week = 1, counter_last_2_days = 2 WHERE i' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = 2010-06-12 16:44:35, counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (11.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:35', 1, 1, 3, 1) SQL (10.3ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:35, counter_last_week = 2, counter_last_2_days = 2 WHERE i' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = 2010-06-17 16:44:35, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  SQL (1.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (1.9ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (88.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (95.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (34.7ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:35', 1, 1, 3, 1) SQL (3.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:35, counter_last_week = 2, counter_last_2_days = 2 WHERE i' at line 2: UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_computed_at = 2010-06-24 16:44:35, counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (57.7ms) DROP TABLE `counters` SQL (52.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (9.1ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (24.1ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (15.4ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (30.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.0ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (110.1ms) DROP TABLE `counters` SQL (75.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (54.4ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (42.5ms) SHOW FIELDS FROM `counters` SQL (14.4ms) BEGIN Counter Create (0.8ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:35', 1, 1, 3, NULL, 1) SQL (0.7ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.8ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:35, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = 2010-06-10 16:44:35, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (32.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.5ms) DROP TABLE `counters` SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:36', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (2.1ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:36, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = 2010-06-10 16:44:36, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (3.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (11.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.4ms) DROP TABLE `counters` SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (2.0ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:36', 1, 1, 3, NULL, 1) SQL (0.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:36, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = 2010-06-10 16:44:36, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  SQL (1.1ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (2.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (38.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (1.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (8.2ms) DROP TABLE `counters` SQL (11.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (12.2ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (6.4ms) SHOW FIELDS FROM `counters` SQL (2.2ms) BEGIN Counter Create (49.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:44:36', 1, 1, 3, NULL, 1) SQL (1.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.3ms) SHOW FIELDS FROM `counters` SQL (22.6ms) SHOW FIELDS FROM `schema_migrations` SQL (21.5ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:44:36, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value' at line 2: UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = 2010-06-10 16:44:36, counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (42.7ms) DELETE FROM schema_migrations WHERE version = '2' SQL (0.6ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.0ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = '2010-06-11 16:45:14', counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (10.0ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, 1) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = '2010-06-12 16:45:14', counter_last_week = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = '2010-06-17 16:45:14', counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.1ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_computed_at = '2010-06-24 16:45:14', counter_last_week = 2, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (1.7ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.9ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.4ms) DROP TABLE `counters` SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, NULL, 1) SQL (0.5ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.5ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = '2010-06-10 16:45:14', counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = '2010-06-11 16:45:14', counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.6ms) SHOW TABLES SQL (1.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.3ms) DROP TABLE `counters` SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, NULL, 1) SQL (0.5ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.5ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = '2010-06-10 16:45:14', counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = '2010-06-12 16:45:14', counter_last_week = 1, counter_last_2_days = 2, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (1.1ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (1.3ms) DROP TABLE `counters` SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.2ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = '2010-06-10 16:45:14', counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 2, counter_computed_at = '2010-06-17 16:45:14', counter_last_week = 2, counter_last_2_days = 2, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) Migrating to CountersWithStartingValue (2) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithStartingValue (2) SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '2' Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to CountersWithoutStartingValue (1) SQL (1.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CountersWithStartingValue (2) SQL (2.1ms) DROP TABLE `counters` SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_starting_value` int(11), `counter_computed_at` datetime, `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('2') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_last_2_weeks`, `counter_computed_at`, `counter_last_day`, `counter_last_week`, `counter`, `counter_starting_value`, `counter_last_2_days`) VALUES(1, '2010-06-10 09:45:14', 1, 1, 3, NULL, 1) SQL (0.4ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.9ms)  UPDATE counters SET counter_last_2_weeks = 1, counter_last_day = 1, counter_computed_at = '2010-06-10 16:45:14', counter_last_week = 1, counter_last_2_days = 1, counter_starting_value = 3 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_computed_at, counter_starting_value, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_2_weeks = 2, counter_last_day = 2, counter_computed_at = '2010-06-24 16:45:14', counter_last_week = 2, counter_last_2_days = 2, counter_starting_value = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (25.4ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.9ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.9ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (3.0ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Counter Columns (0.0ms) Mysql::Error: Table 'periodic_counter.counters' doesn't exist: SHOW FIELDS FROM `counters` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (12.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (12.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (1.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.5ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.4ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (12.8ms) SHOW FIELDS FROM `counters` SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (1.6ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.8ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.4ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (4.3ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.9ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (64.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.6ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.3ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (13.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.5ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.1ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (1.6ms) SHOW TABLES SQL (1.5ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (10.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (3.2ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.3ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.5ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (2.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (25.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (2.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) DROP TABLE `counters` SQL (0.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (29.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.1ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.0ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.6ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.5ms) SHOW TABLES SQL (1.6ms) SELECT version FROM schema_migrations SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (1.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.2ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.9ms) BEGIN Counter Create (0.7ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (1.1ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (12.1ms) SHOW FIELDS FROM `counters` SQL (2.8ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (2.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.3ms) DROP TABLE `counters` SQL (0.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (8.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.3ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.1ms) SHOW FIELDS FROM `counters` SQL (1.9ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (3.2ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.0ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.3ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.8ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (1.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.3ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (1.0ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.8ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (60.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-11 17:10:49.836865 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-12 17:10:49.880360 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (1.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-17 17:10:49.912052 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (3.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-24 17:10:49.944046 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (1.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (12.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-10 17:10:49.991881 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (1.1ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.7ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.4ms) DROP TABLE `counters` SQL (11.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-10 17:10:50.042910 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.0ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.2ms) SHOW FIELDS FROM `counters` SQL (1.1ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (2.7ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-10 17:10:50.092733 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.2ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, 1, 1, 1, 3, 1) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.9ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- starting_value: 3 computed_at: 2010-06-10 17:10:50.195385 Z ', counter_last_2_weeks = 1, counter_last_day = 1, counter_last_week = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter` = 6 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.9ms) DROP TABLE `counters` SQL (1.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (45.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (8.1ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.8ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' counter_last_day = , counter_last_week = , counter_last_2_days = ' at line 2: UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:16:51.082791 Z ', counter_last_2_weeks = , counter_last_day = , counter_last_week = , counter_last_2_days = WHERE id = 1  SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (38.9ms) DROP TABLE `counters` SQL (23.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (2.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (52.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (3.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.7ms) SHOW FIELDS FROM `counters` SQL (1.0ms) BEGIN Counter Create (1.1ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (1.0ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.9ms) SHOW FIELDS FROM `counters` SQL (2.2ms) SHOW FIELDS FROM `schema_migrations` SQL (1.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms) Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' counter_last_day = , counter_last_week = , counter_last_2_days = ' at line 2: UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:17:25.502748 Z ', counter_last_2_weeks = , counter_last_day = , counter_last_week = , counter_last_2_days = WHERE id = 1  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (28.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:18:28.968502 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (45.2ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (12.2ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:18:55.545697 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (28.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:19:33.583870 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (9.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:20:09.074548 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.9ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.3ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.4ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.3ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:33:08.901888 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.8ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (36.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.0ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.8ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (11.1ms) SHOW FIELDS FROM `counters` SQL (2.5ms) SHOW FIELDS FROM `schema_migrations` SQL (2.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:33:19.446200 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (39.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:34:05.467012 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.5ms) DROP TABLE `counters` SQL (1.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.9ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.5ms) SHOW FIELDS FROM `counters` SQL (0.9ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.4ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:34:16.296332 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (43.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.5ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:36:19.854741 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (30.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.7ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (5.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:36:59.027740 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (43.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.0ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (12.2ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:37:46.010699 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:37:46.024639 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (37.3ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (3.1ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.9ms) SHOW FIELDS FROM `schema_migrations` SQL (1.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:38:24.372720 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:38:24.374995 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (35.7ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (29.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (154.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (18.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (24.7ms) SHOW FIELDS FROM `counters` SQL (0.4ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (1.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.7ms) SHOW FIELDS FROM `counters` SQL (2.1ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:39:14.145833 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:39:14.155040 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (53.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (1.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (5.3ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.2ms) SHOW FIELDS FROM `counters` SQL (1.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:39:55.024860 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:39:55.033397 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (61.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.5ms) SHOW FIELDS FROM `counters` SQL (2.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:41:19.655882 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:41:19.658223 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (35.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (7.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.5ms) SHOW FIELDS FROM `counters` SQL (1.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:41:51.138402 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:41:51.140686 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.2ms) SHOW FIELDS FROM `counters` SQL (0.7ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.8ms) SHOW FIELDS FROM `counters` SQL (1.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:42:46.153064 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:42:46.155474 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.3ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.8ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (58.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.8ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (11.3ms) COMMIT SQL (0.6ms) SHOW TABLES SQL (1.2ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:46:10.540843 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:46:10.540843 Z\nstarting_value: 10\n', `counter_last_day` = 5 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-11 17:46:10.552156 Z ', counter_last_2_weeks = 0, counter_last_day = -5, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (29.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (21.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (1.0ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:47:12.202613 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:47:12.202613 Z\nstarting_value: 10\n', `counter` = 15 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-11 17:47:12.210743 Z ', counter_last_2_weeks = 0, counter_last_day = 5, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (55.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (10.4ms)  UPDATE counters SET counter_data = '--- starting_value: 10 computed_at: 2010-06-10 17:47:52.440203 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:47:52.440203 Z\nstarting_value: 10\n', `counter_last_day` = 1 WHERE `id` = 1 SQL (0.6ms) COMMIT Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \nstarting_value: 10\ncomputed_at: 2010-06-10 17:47:52.440203 Z\n', `counter` = 15 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-11 17:47:52.460573 Z starting_value: 10 ', counter_last_2_weeks = 0, counter_last_day = 4, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (9.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-10 17:55:45.081547 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:55:45.081547 Z\n', `counter_last_day` = 1 WHERE `id` = 1 SQL (105.5ms) COMMIT Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:55:45.081547 Z\n', `counter` = 15 WHERE `id` = 1 SQL (24.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 15 computed_at: 2010-06-11 17:55:45.238024 Z ', counter_last_2_weeks = 0, counter_last_day = 15, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (36.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.9ms) BEGIN Counter Create (1.0ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (9.3ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (2.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-10 17:56:14.902170 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:56:14.902170 Z\n', `counter_last_day` = 1 WHERE `id` = 1 SQL (0.6ms) COMMIT Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:56:14.902170 Z\n', `counter` = 15 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 15 computed_at: 2010-06-11 17:56:14.913862 Z ', counter_last_2_weeks = 0, counter_last_day = 15, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (43.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (11.3ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.1ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- computed_at: 2010-06-10 17:57:50.582006 Z ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncomputed_at: 2010-06-10 17:57:50.582006 Z\n', `counter` = 15 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 15 computed_at: 2010-06-11 17:57:50.588243 Z ', counter_last_2_weeks = 0, counter_last_day = 15, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (59.3ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.6ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 10, NULL) SQL (10.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 10 counter_last_day: 10 counter_last_week: 10 computed_at: 2010-06-10 17:59:20.048477 Z counter_last_2_days: 10 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.6ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_2_weeks: 10\ncounter_last_day: 10\ncounter_last_week: 10\ncomputed_at: 2010-06-10 17:59:20.048477 Z\ncounter_last_2_days: 10\n', `counter` = 15 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 10 counter_last_day: 5 counter_last_week: 10 computed_at: 2010-06-11 17:59:20.057123 Z counter_last_2_days: 10 ', counter_last_2_weeks = 0, counter_last_day = 5, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (5.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (17.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (12.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (1.3ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 1 counter_last_day: 1 counter_last_week: 1 computed_at: 2010-06-10 18:07:11.914101 Z counter_last_2_days: 1 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_2_weeks: 1\ncounter_last_day: 1\ncounter_last_week: 1\ncomputed_at: 2010-06-10 18:07:11.914101 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 1 counter_last_day: 1 counter_last_week: 1 computed_at: 2010-06-11 18:07:11.938145 Z counter_last_2_days: 1 ', counter_last_2_weeks = 0, counter_last_day = 1, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (61.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (1.2ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.9ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 1 counter_last_day: 1 counter_last_week: 1 computed_at: 2010-06-10 18:08:00.873988 Z counter_last_2_days: 1 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_2_weeks: 1\ncounter_last_day: 1\ncounter_last_week: 1\ncomputed_at: 2010-06-10 18:08:00.873988 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 1 counter_last_day: 1 counter_last_week: 1 computed_at: 2010-06-11 18:08:00.879663 Z counter_last_2_days: 1 ', counter_last_2_weeks = 0, counter_last_day = 1, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (42.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_week` int(11), `counter_last_2_weeks` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_2_weeks`, `counter_last_day`, `counter_last_week`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 1 counter_last_day: 1 counter_last_week: 1 computed_at: 2010-06-10 18:08:36.967507 Z counter_last_2_days: 1 ', counter_last_2_weeks = 0, counter_last_day = 0, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_2_weeks: 1\ncounter_last_day: 1\ncounter_last_week: 1\ncomputed_at: 2010-06-10 18:08:36.967507 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_week, counter_last_2_weeks FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_2_weeks: 1 counter_last_day: 2 counter_last_week: 1 computed_at: 2010-06-11 18:08:36.973847 Z counter_last_2_days: 1 ', counter_last_2_weeks = 0, counter_last_day = 1, counter_last_week = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (26.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (57.9ms) DROP TABLE `counters` SQL (18.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (53.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.1ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (3.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (1.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.2ms) SHOW FIELDS FROM `counters` SQL (1.8ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 computed_at: 2010-06-10 18:10:39.056959 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncomputed_at: 2010-06-10 18:10:39.056959 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 computed_at: 2010-06-11 18:10:39.065306 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.7ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.6ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 computed_at: 2010-06-10 18:11:53.961959 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.5ms) BEGIN Counter Update (0.6ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncomputed_at: 2010-06-10 18:11:53.961959 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 computed_at: 2010-06-11 18:11:53.969242 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncomputed_at: 2010-06-11 18:11:53.969242 Z\ncounter_last_2_days: 1\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 computed_at: 2010-06-12 18:11:53.990601 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (51.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (10.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 computed_at: 2010-06-10 18:13:06.385252 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncomputed_at: 2010-06-10 18:13:06.385252 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 computed_at: 2010-06-11 18:13:06.390629 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncomputed_at: 2010-06-11 18:13:06.390629 Z\ncounter_last_2_days: 1\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 computed_at: 2010-06-12 18:13:06.404525 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (7.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (128.9ms) DROP TABLE `counters` SQL (7.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (3.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.8ms) SHOW FIELDS FROM `counters` SQL (4.5ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (2.3ms) SHOW FIELDS FROM `counters` SQL (15.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 computed_at: 2010-06-10 18:14:26.428850 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncomputed_at: 2010-06-10 18:14:26.428850 Z\ncounter_last_2_days: 1\n', `counter` = 2 WHERE `id` = 1 SQL (0.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 computed_at: 2010-06-11 18:14:26.436743 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (3.1ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncomputed_at: 2010-06-11 18:14:26.436743 Z\ncounter_last_2_days: 1\n', `counter` = 3 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 computed_at: 2010-06-13 18:14:26.454256 Z counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.8ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (31.1ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (47.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (6.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (12.6ms) SHOW FIELDS FROM `counters` SQL (0.3ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (39.9ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (90.3ms) SHOW FIELDS FROM `counters` SQL (150.8ms) SHOW FIELDS FROM `schema_migrations` SQL (8.8ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (26.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:27:53.637085 Z counter_last_2_days_at: 2010-06-10 18:27:53.637201 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:27:53.637085 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:27:53.637201 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-10 18:27:53.637085 Z counter_last_2_days_at: 2010-06-10 18:27:53.637201 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.7ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-10 18:27:53.637085 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:27:53.637201 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-10 18:27:53.637085 Z counter_last_2_days_at: 2010-06-10 18:27:53.637201 Z counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (109.0ms) DROP TABLE `counters` SQL (1.5ms) DELETE FROM schema_migrations WHERE version = '1' SQL (5.1ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (5.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (4.2ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (15.2ms) SHOW FIELDS FROM `counters` SQL (1.0ms) BEGIN Counter Create (1.0ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.8ms) SHOW FIELDS FROM `counters` SQL (1.9ms) SHOW FIELDS FROM `schema_migrations` SQL (1.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:28:15.399020 Z counter_last_2_days_at: 2010-06-10 18:28:15.399132 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:28:15.399020 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:28:15.399132 Z\n', `counter` = 2 WHERE `id` = 1 SQL (9.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-10 18:28:15.399020 Z counter_last_2_days_at: 2010-06-10 18:28:15.399132 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.6ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-10 18:28:15.399020 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:28:15.399132 Z\n', `counter` = 3 WHERE `id` = 1 SQL (4.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-10 18:28:15.399020 Z counter_last_2_days_at: 2010-06-10 18:28:15.399132 Z counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (35.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:28:28.646391 Z counter_last_2_days_at: 2010-06-10 18:28:28.646490 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:28:28.646391 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:28:28.646490 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-10 18:28:28.646391 Z counter_last_2_days_at: 2010-06-10 18:28:28.646490 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (4.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-10 18:28:28.646391 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:28:28.646490 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-10 18:28:28.646391 Z counter_last_2_days_at: 2010-06-10 18:28:28.646490 Z counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (41.0ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.2ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:30:02.129924 Z counter_last_2_days_at: 2010-06-10 18:30:02.129966 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:30:02.129924 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:30:02.129966 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 18:30:02.135705 Z counter_last_2_days_at: 2010-06-10 18:30:02.129966 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 18:30:02.135705 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:30:02.129966 Z\n', `counter` = 3 WHERE `id` = 1 SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-13 18:30:02.165754 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (37.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:30:34.796567 Z counter_last_2_days_at: 2010-06-10 18:30:34.796609 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:30:34.796567 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:30:34.796609 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 18:30:34.803407 Z counter_last_2_days_at: 2010-06-10 18:30:34.796609 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 18:30:34.803407 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:30:34.796609 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-13 18:30:34.816276 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (22.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (57.3ms) DROP TABLE `counters` SQL (55.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.6ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (148.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (142.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (51.8ms) SHOW FIELDS FROM `counters` SQL (31.2ms) BEGIN Counter Create (5.1ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (20.4ms) COMMIT SQL (4.0ms) SHOW TABLES SQL (39.3ms) SHOW FIELDS FROM `counters` SQL (88.3ms) SHOW FIELDS FROM `schema_migrations` SQL (25.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (6.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:32:48.903746 Z counter_last_2_days_at: 2010-06-10 18:32:48.903812 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (1.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.9ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:32:48.903746 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:32:48.903812 Z\n', `counter` = 2 WHERE `id` = 1 SQL (28.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 18:32:48.945875 Z counter_last_2_days_at: 2010-06-10 18:32:48.903812 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 18:32:48.945875 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:32:48.903812 Z\n', `counter` = 3 WHERE `id` = 1 SQL (68.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 18:32:49.368487 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (2.5ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (95.4ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (49.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (59.6ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 18:34:34.804581 Z counter_last_2_days_at: 2010-06-10 18:34:34.804622 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 18:34:34.804581 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:34:34.804622 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 18:34:34.810333 Z counter_last_2_days_at: 2010-06-10 18:34:34.804622 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 18:34:34.810333 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 18:34:34.804622 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 18:34:34.821993 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (4.4ms) SET SQL_AUTO_IS_NULL=0 SQL (12.9ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (4.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (3.0ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (68.8ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (11.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.2ms) SHOW FIELDS FROM `counters` SQL (0.8ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.8ms) SHOW FIELDS FROM `schema_migrations` SQL (0.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:52:32.893979 Z counter_last_2_days_at: 2010-06-10 21:52:32.894024 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:52:32.893979 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:52:32.894024 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 21:52:32.900301 Z counter_last_2_days_at: 2010-06-10 21:52:32.894024 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 21:52:32.900301 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:52:32.894024 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 21:52:32.944040 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (7.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (8.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (22.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (11.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:06.092149 Z counter_last_2_days_at: 2010-06-10 21:55:06.092195 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:06.092149 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:06.092195 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (1.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:06.092149 Z counter_last_2_days_at: 2010-06-10 21:55:06.092195 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:06.092149 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:06.092195 Z\n' WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 21:55:06.137782 Z counter_last_2_days_at: 2010-06-10 21:55:06.092195 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (1.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (1.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 21:55:06.137782 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:06.092195 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 21:55:06.155953 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.1ms) DROP TABLE `counters` SQL (2.2ms) DELETE FROM schema_migrations WHERE version = '1' SQL (5.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (10.0ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (68.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (3.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (14.0ms) SHOW FIELDS FROM `counters` SQL (8.3ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.8ms) SHOW FIELDS FROM `counters` SQL (9.3ms) SHOW FIELDS FROM `schema_migrations` SQL (2.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (2.3ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:17.011146 Z counter_last_2_days_at: 2010-06-10 21:55:17.011192 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (1.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (1.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (2.9ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:17.011146 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:17.011192 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.0ms) SHOW FIELDS FROM `counters` SQL (4.9ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (2.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:17.011146 Z counter_last_2_days_at: 2010-06-10 21:55:17.011192 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (6.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (3.1ms) BEGIN Counter Update (0.7ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:17.011146 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:17.011192 Z\n' WHERE `id` = 1 SQL (2.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-11 21:55:17.053983 Z counter_last_2_days_at: 2010-06-10 21:55:17.011192 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 21:55:17.053983 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:17.011192 Z\n', `counter` = 3 WHERE `id` = 1 SQL (9.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 21:55:17.146939 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (30.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.9ms) SHOW FIELDS FROM `schema_migrations` SQL (0.8ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:50.869436 Z counter_last_2_days_at: 2010-06-10 21:55:50.869483 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:50.869436 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:50.869483 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:50.869436 Z counter_last_2_days_at: 2010-06-10 21:55:50.869483 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:50.869436 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:50.869483 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-11 21:55:50.887279 Z counter_last_2_days_at: 2010-06-10 21:55:50.869483 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.3ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 21:55:50.887279 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:50.869483 Z\n' WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 21:55:50.919734 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (13.5ms) DROP TABLE `counters` SQL (7.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (5.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (15.1ms) SHOW FIELDS FROM `counters` SQL (7.4ms) BEGIN Counter Create (13.7ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (5.7ms) COMMIT SQL (6.5ms) SHOW TABLES SQL (14.1ms) SHOW FIELDS FROM `counters` SQL (8.7ms) SHOW FIELDS FROM `schema_migrations` SQL (7.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (10.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:59.386527 Z counter_last_2_days_at: 2010-06-10 21:55:59.386573 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:59.386527 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:59.386573 Z\n', `counter` = 2 WHERE `id` = 1 SQL (6.5ms) COMMIT SQL (4.7ms) SHOW TABLES SQL (10.2ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (1.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (6.1ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 21:55:59.386527 Z counter_last_2_days_at: 2010-06-10 21:55:59.386573 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.8ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:59.386527 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:59.386573 Z\n', `counter` = 3 WHERE `id` = 1 SQL (2.3ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-11 21:55:59.446753 Z counter_last_2_days_at: 2010-06-10 21:55:59.386573 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (5.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (2.2ms) BEGIN Counter Update (1.9ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 21:55:59.446753 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:59.386573 Z\n' WHERE `id` = 1 SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: &id001 2010-06-12 21:55:59.491493 Z counter_last_2_days_at: *id001 counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (27.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.7ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (57.8ms) DROP TABLE `counters` SQL (29.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (5.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (2.1ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (10.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (15.3ms) SHOW FIELDS FROM `counters` SQL (199.7ms) SHOW FIELDS FROM `schema_migrations` SQL (9.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (33.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 22:13:23.563986 Z counter_last_2_days_at: 2010-06-10 22:13:23.564031 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:23.563986 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:23.564031 Z\n', `counter` = 2 WHERE `id` = 1 SQL (27.9ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (21.0ms) SHOW FIELDS FROM `counters` SQL (101.3ms) SHOW FIELDS FROM `schema_migrations` SQL (2.1ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (8.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 22:13:23.563986 Z counter_last_2_days_at: 2010-06-10 22:13:23.564031 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:23.563986 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:23.564031 Z\n', `counter` = 3 WHERE `id` = 1 SQL (10.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-11 22:13:23.787982 Z counter_last_2_days_at: 2010-06-10 22:13:23.564031 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (2.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 22:13:23.787982 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:23.564031 Z\n', `counter` = 4 WHERE `id` = 1 SQL (11.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: &id001 2010-06-12 22:13:24.046356 Z counter_last_2_days_at: *id001 counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (36.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (12.0ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 22:13:46.107266 Z counter_last_2_days_at: 2010-06-10 22:13:46.107311 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:46.107266 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:46.107311 Z\n', `counter` = 2 WHERE `id` = 1 SQL (1.0ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 22:13:46.107266 Z counter_last_2_days_at: 2010-06-10 22:13:46.107311 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:46.107266 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:46.107311 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-11 22:13:46.125411 Z counter_last_2_days_at: 2010-06-10 22:13:46.107311 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 22:13:46.125411 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:46.107311 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: &id001 2010-06-12 22:13:46.139238 Z counter_last_2_days_at: *id001 counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (75.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 22:18:56.274766 Z counter_last_2_days_at: 2010-06-10 22:18:56.274810 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:18:56.274766 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:18:56.274810 Z\n', `counter` = 2 WHERE `id` = 1 SQL (10.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.6ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-10 22:18:56.274766 Z counter_last_2_days_at: 2010-06-10 22:18:56.274810 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:18:56.274766 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:18:56.274810 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-11 22:18:56.300401 Z counter_last_2_days_at: 2010-06-10 22:18:56.274810 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 22:18:56.300401 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:18:56.274810 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: &id001 2010-06-12 22:18:56.313985 Z counter_last_2_days_at: *id001 counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (14.5ms) SHOW TABLES SQL (13.1ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (100.5ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (18.1ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (187.3ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.6ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (2.9ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.8ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (3.1ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (6.1ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-15 23:46:45.964893 Z counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 23:46:45.964893 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (21.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: &id001 2010-06-16 23:46:46.005453 Z counter_last_2_days_at: *id001 counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.7ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.8ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (21.3ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (22.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.7ms) SHOW FIELDS FROM `counters` SQL (75.0ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.9ms) SHOW TABLES SQL (3.2ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 2 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (1.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-16 00:00:00 Z counter_last_2_days_at: 2010-06-16 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (1.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-16 00:00:00 Z\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-16 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-16 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.6ms) SHOW TABLES SQL (1.0ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.4ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (31.1ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (3.7ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.0ms) SHOW FIELDS FROM `counters` SQL (3.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (1.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.7ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-16 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.7ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.8ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-16 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.4ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (53.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (0.8ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (10.9ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (1.7ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (1.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.9ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (3.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-16 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-16 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (45.9ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.7ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (13.1ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.8ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-16 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-16 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (36.2ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (74.3ms) SHOW FIELDS FROM `counters` SQL (0.4ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.5ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.2ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.7ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-16 00:00:00 Z counter_last_2_days_at: 2010-06-15 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-16 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-15 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (2.0ms) SET SQL_AUTO_IS_NULL=0 SQL (2.3ms) SHOW TABLES SQL (607.6ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (260.1ms) DROP TABLE `counters` SQL (2.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (29.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.0ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.6ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (17.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (1.2ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (10.1ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.9ms) SHOW FIELDS FROM `counters` SQL (1.2ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.8ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-18 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.6ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (17.2ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.4ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.9ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.6ms)  UPDATE counters SET counter_data = '--- counter_last_day: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 3 counter_last_day_at: 2010-06-18 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days FROM counters  SQL (0.0ms)  UPDATE counters SET counter_data = '--- counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.8ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_thursday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_thursday`, `counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, 1, NULL) SQL (1.7ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday FROM counters  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = NULL, `counter` = 2 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.1ms) SHOW FIELDS FROM `counters` SQL (1.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.9ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday FROM counters  Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = NULL, `counter` = 3 WHERE `id` = 1 SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_thursday = 0, counter_data = '--- counter_last_thursday_before_today: 3 counter_last_day: 3 counter_last_day_at: 2010-06-18 00:00:00 Z counter_last_2_days_at: 2010-06-18 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_thursday_before_today: 3\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-18 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_thursday = 0, counter_data = '--- counter_last_thursday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_2_days_at: 2010-06-18 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_thursday` int(11), `counter_last_friday` int(11), `counter_last_saturday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_friday`, `counter_last_saturday`, `counter_last_thursday`, `counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.9ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '--- counter_last_thursday: 1 counter_last_thursday_before_today: 0 counter_last_saturday_before_today: 1 counter_last_day: 1 counter_last_friday_before_today: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_thursday_before_today: 0\ncounter_last_thursday: 1\ncounter_last_saturday_before_today: 1\ncounter_last_day: 1\ncounter_last_friday_before_today: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.2ms) SHOW FIELDS FROM `counters` SQL (1.7ms) SHOW FIELDS FROM `schema_migrations` SQL (0.5ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '--- counter_last_thursday: 2 counter_last_thursday_before_today: 0 counter_last_saturday_before_today: 2 counter_last_day: 1 counter_last_friday_before_today: 2 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_thursday_before_today: 0\ncounter_last_thursday: 2\ncounter_last_saturday_before_today: 2\ncounter_last_day: 1\ncounter_last_friday_before_today: 2\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '--- counter_last_friday: 1 counter_last_thursday: 2 counter_last_thursday_before_today: 3 counter_last_saturday_before_today: 3 counter_last_day: 3 counter_last_friday_before_today: 2 counter_last_day_at: 2010-06-18 00:00:00 Z counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_friday: 1\ncounter_last_thursday_before_today: 3\ncounter_last_thursday: 2\ncounter_last_saturday_before_today: 3\ncounter_last_day: 3\ncounter_last_friday_before_today: 2\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '--- counter_last_saturday: 1 counter_last_friday: 1 counter_last_thursday: 2 counter_last_thursday_before_today: 4 counter_last_saturday_before_today: 3 counter_last_day: 4 counter_last_friday_before_today: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.8ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.5ms) COMMIT SQL (0.3ms) SHOW TABLES SQL (1.3ms) SHOW FIELDS FROM `counters` SQL (1.3ms) SHOW FIELDS FROM `schema_migrations` SQL (0.3ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday_before_today: 1 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 1\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.4ms) SHOW TABLES SQL (1.2ms) SHOW FIELDS FROM `counters` SQL (2.4ms) SHOW FIELDS FROM `schema_migrations` SQL (0.2ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.7ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday_before_today: 2 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-17 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 2\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 3 counter_last_day: 3 counter_last_day_at: 2010-06-18 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-17 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 3\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.4ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday: 1 counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday: 1\ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday: 2 counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday: 2\ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday: 2 counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_tuesday: 1 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday: 2\ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_tuesday: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 0, counter_data = '--- counter_last_monday: 2 counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_tuesday: 1 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.3ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (59.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (3.1ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (58.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (7.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (55.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (2.1ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (37.4ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.1ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (38.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (22.3ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-14 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-15 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-14 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.2ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-19 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-19 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (22.5ms) SHOW TABLES SQL (51.7ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (163.1ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (3.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.0ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-22 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-22 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (35.5ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (8.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (29.9ms) DROP TABLE `counters` SQL (21.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-22 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (1.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-22 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (93.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (30.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (9.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (26.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = NULL, `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = NULL, `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = NULL, `counter` = 4 WHERE `id` = 1 SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (1.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.4ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (1.7ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.3ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations SQL (1.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) DROP TABLE `counters` SQL (1.2ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (4.4ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (32.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-22 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-22 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.8ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (59.2ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.1ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-22 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-22 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.9ms) DROP TABLE `counters` SQL (1.4ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-22 00:00:00 Z counter_last_2_days: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-22 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (10.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (46.4ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (1.2ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (38.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (24.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.8ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (34.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) BEGIN Counter Create (0.0ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.9ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (1.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (40.6ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (110.7ms) SHOW FIELDS FROM `counters` SQL (34.5ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (1.1ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-23 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-23 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 1, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (42.1ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 1 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_last_wednesday_before_today: 2 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_last_wednesday_before_today: 3 counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.9ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_last_wednesday_before_today: 4 counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.9ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (39.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.9ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (10.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (41.5ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (1.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (44.2ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (10.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.6ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (1.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (47.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (48.3ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (1.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (27.8ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (25.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.5ms) DROP TABLE `counters` SQL (0.9ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.3ms) SHOW FIELDS FROM `counters` SQL (1.5ms) BEGIN Counter Create (0.5ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.5ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (1.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (11.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (47.8ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.5ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (26.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.6ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (4.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.6ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.4ms) SHOW TABLES SQL (0.6ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (57.9ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.5ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (1.1ms) BEGIN Counter Create (0.8ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (3.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (1.6ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (30.6ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.8ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (53.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 2 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.1ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (56.9ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 2 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.4ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.9ms) DROP TABLE `counters` SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.4ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (33.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.9ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.9ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (11.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 2 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.1ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (42.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (1.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (55.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.6ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 4, counter_last_2_days = 0, counter_1_day_ago = 4 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.7ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (55.8ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.4ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.9ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (36.3ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.6ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.7ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.9ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.9ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (0.8ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (2.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.5ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.6ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.4ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.7ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (39.2ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.4ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.4ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.4ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (12.1ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.8ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (37.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (1.8ms) SHOW FIELDS FROM `counters` SQL (0.1ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.6ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.4ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (11.4ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.8ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (10.6ms) DROP TABLE `counters` SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (34.0ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (2.5ms) SHOW FIELDS FROM `counters` SQL (0.2ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (1.2ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 SQL (0.3ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (11.9ms) DROP TABLE `counters` SQL (0.6ms) DELETE FROM schema_migrations WHERE version = '1' SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.5ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations Migrating to Counters (1) SQL (70.7ms) CREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_1_day_ago` int(11), `counter_2_days_ago` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('1') Counter Columns (27.8ms) SHOW FIELDS FROM `counters` SQL (0.3ms) BEGIN Counter Create (0.3ms) INSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_2_days_ago`, `counter_1_day_ago`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL) SQL (0.5ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 1, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 1 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 1 counter_last_wednesday_before_today: 1 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 1 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 0, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.0ms) SELECT * FROM `counters` WHERE (`counters`.`id` = 1)  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.0ms) BEGIN Counter Update (0.0ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_2_days_ago: 1\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_1_day_ago: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1 SQL (0.0ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 0 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 1 counter_last_day_at: 2010-06-21 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 2 counter_1_day_ago_at: 2010-06-21 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 2 ', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_2_days_ago = 0, counter_last_2_days = 1, counter_1_day_ago = 0 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.3ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.1ms) BEGIN Counter Update (0.5ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-21 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_1_day_ago: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 3 counter_last_tuesday_before_today: 2 counter_2_days_ago_at: 2010-06-21 00:00:00 Z counter_last_day: 3 counter_last_day_at: 2010-06-22 00:00:00 Z counter_2_days_ago: 2 counter_last_wednesday_before_today: 3 counter_1_day_ago_at: 2010-06-22 00:00:00 Z counter_last_2_days_at: 2010-06-21 00:00:00 Z counter_last_2_days: 1 counter_1_day_ago: 3 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 0, counter_last_2_days = 2, counter_1_day_ago = 2 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 Counter Load (0.2ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1 SQL (0.2ms) BEGIN Counter Update (0.3ms) UPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_2_days_ago_at: 2010-06-21 00:00:00 Z\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_2_days_ago: 2\ncounter_last_day_at: 2010-06-22 00:00:00 Z\ncounter_1_day_ago_at: 2010-06-22 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_1_day_ago: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-21 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1 SQL (0.7ms) COMMIT SQL (0.0ms) SHOW TABLES SQL (0.0ms) SHOW FIELDS FROM `counters` SQL (0.0ms) SHOW FIELDS FROM `schema_migrations` SQL (0.0ms)  SELECT id, counter, counter_data, counter_1_day_ago, counter_2_days_ago, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday FROM counters  SQL (0.0ms)  UPDATE counters SET counter_last_monday = 2, counter_data = '--- counter_last_monday_before_today: 4 counter_last_tuesday_before_today: 4 counter_2_days_ago_at: 2010-06-24 00:00:00 Z counter_last_day: 4 counter_last_day_at: 2010-06-24 00:00:00 Z counter_2_days_ago: 4 counter_last_wednesday_before_today: 4 counter_1_day_ago_at: 2010-06-24 00:00:00 Z counter_last_2_days_at: 2010-06-24 00:00:00 Z counter_last_2_days: 4 counter_1_day_ago: 4 ', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_2_days_ago = 2, counter_last_2_days = 0, counter_1_day_ago = 3 WHERE id = 1  Counter Load (0.0ms) SELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1