spec/log/test.log in periodic_counter-0.1.3 vs spec/log/test.log in periodic_counter-0.1.4
- old
+ new
@@ -12442,5 +12442,4130 @@
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
[0m
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (22.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (51.7ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (163.1ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (3.8ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (35.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (8.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (29.9ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (21.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (1.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (93.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (30.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (9.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (26.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = NULL, `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = NULL, `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = NULL, `counter` = 4 WHERE `id` = 1[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.7ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.2ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (4.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (32.5ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.8ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (59.2ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.5ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.9ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (40.9ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (10.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (46.4ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.1ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.7ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (39.6ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (38.1ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.9ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (24.8ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (34.3ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.0ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.9ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (1.4ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (40.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (110.7ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (34.5ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (1.1ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (42.1ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.5ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.9ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.9ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (39.3ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.3ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.4ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (10.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (41.5ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.0ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (1.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (44.2ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.0ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (10.8ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.6ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.5ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (47.1ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.5ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (48.3ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.0ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.5ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (27.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.5ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.8ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (25.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (1.4ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (11.5ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.9ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.3ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.5ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.5ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (1.2ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.4ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (11.1ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (47.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.0ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.9ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.7ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.2ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.4ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.5ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (26.5ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.6ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.6ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (4.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.6ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (57.9ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.5ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.9ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.8ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (3.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.2ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (30.6ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.6ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.4ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.8ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (1.1ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (53.6ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.7ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (56.9ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.9ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.4ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.6ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.9ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (33.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.9ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (11.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.2ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (11.1ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (42.8ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (2.4ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (1.1ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.7ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (55.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.4ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.6ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.6ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (55.8ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (2.4ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.9ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.6ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (36.3ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.6ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.4ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.7ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.9ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.9ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (2.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.6ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.4ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.6ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.7ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (39.2ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (2.4ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.4ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.4ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (12.1ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (37.0ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.8ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.4ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (11.4ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.8ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (34.0ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (2.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.5ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (1.2ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (11.9ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (70.7ms)[0m [0mCREATE 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[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (27.8ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT 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)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` WHERE (`counters`.`id` = 1) [0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.0ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.0ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.0ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.1ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.5ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.7ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mSQL (0.2ms)[0m [0mBEGIN[0m
+ [4;36;1mCounter Update (0.3ms)[0m [0;1mUPDATE `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[0m
+ [4;35;1mSQL (0.7ms)[0m [0mCOMMIT[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW TABLES[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;35;1mSQL (0.0ms)[0m [0m 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
+[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m 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
+[0m
+ [4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m