spec/log/test.log in periodic_counter-0.1.2 vs spec/log/test.log in periodic_counter-0.1.3
- old
+ new
@@ -10559,5 +10559,1888 @@
counter_last_2_days: 4
', counter_last_day = 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;36;1mSQL (2.0ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (2.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (607.6ms)[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 (260.1ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (2.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 (29.0ms)[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_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 (2.0ms)[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_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (17.2ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (1.2ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.4ms)[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_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (10.1ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.9ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.2ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.8ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[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_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-18 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[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_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 4
+counter_last_day_at: 2010-06-19 00:00:00 Z
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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.6ms)[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 (17.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.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.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_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.4ms)[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_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.9ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[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_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.6ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.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.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-18 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[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.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.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 4
+counter_last_day_at: 2010-06-19 00:00:00 Z
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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 (10.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.9ms)[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.0ms)[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_thursday` 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.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_last_thursday`, `counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (1.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday
+ FROM counters
+[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` = NULL, `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday
+ FROM counters
+[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.2ms)[0m [0mUPDATE `counters` SET `counter_data` = NULL, `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_last_day, counter_last_2_days, counter_last_thursday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_last_thursday = 0, counter_data = '---
+counter_last_thursday_before_today: 3
+counter_last_day: 3
+counter_last_day_at: 2010-06-18 00:00:00 Z
+counter_last_2_days_at: 2010-06-18 00:00:00 Z
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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_thursday_before_today: 3\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-18 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.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_thursday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_last_thursday = 0, counter_data = '---
+counter_last_thursday_before_today: 4
+counter_last_day: 4
+counter_last_day_at: 2010-06-19 00:00:00 Z
+counter_last_2_days_at: 2010-06-18 00:00:00 Z
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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.7ms)[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 (2.0ms)[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_thursday` int(11), `counter_last_friday` int(11), `counter_last_saturday` 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.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_friday`, `counter_last_saturday`, `counter_last_thursday`, `counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
+ SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
+counter_last_thursday: 1
+counter_last_thursday_before_today: 0
+counter_last_saturday_before_today: 1
+counter_last_day: 1
+counter_last_friday_before_today: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[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_thursday_before_today: 0\ncounter_last_thursday: 1\ncounter_last_saturday_before_today: 1\ncounter_last_day: 1\ncounter_last_friday_before_today: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
+ SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
+counter_last_thursday: 2
+counter_last_thursday_before_today: 0
+counter_last_saturday_before_today: 2
+counter_last_day: 1
+counter_last_friday_before_today: 2
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[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_thursday_before_today: 0\ncounter_last_thursday: 2\ncounter_last_saturday_before_today: 2\ncounter_last_day: 1\ncounter_last_friday_before_today: 2\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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_thursday, counter_last_friday, counter_last_saturday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
+counter_last_friday: 1
+counter_last_thursday: 2
+counter_last_thursday_before_today: 3
+counter_last_saturday_before_today: 3
+counter_last_day: 3
+counter_last_friday_before_today: 2
+counter_last_day_at: 2010-06-18 00:00:00 Z
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[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_friday: 1\ncounter_last_thursday_before_today: 3\ncounter_last_thursday: 2\ncounter_last_saturday_before_today: 3\ncounter_last_day: 3\ncounter_last_friday_before_today: 2\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
+ [4;36;1mSQL (1.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_thursday, counter_last_friday, counter_last_saturday
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
+counter_last_saturday: 1
+counter_last_friday: 1
+counter_last_thursday: 2
+counter_last_thursday_before_today: 4
+counter_last_saturday_before_today: 3
+counter_last_day: 4
+counter_last_friday_before_today: 4
+counter_last_day_at: 2010-06-19 00:00:00 Z
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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.8ms)[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.0ms)[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 (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_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.3ms)[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.7ms)[0m [0m UPDATE counters
+ SET counter_last_monday = 0, counter_data = '---
+counter_last_monday_before_today: 1
+counter_last_tuesday_before_today: 1
+counter_last_day: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[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: 1\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (2.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.2ms)[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.7ms)[0m [0m UPDATE counters
+ SET counter_last_monday = 0, counter_data = '---
+counter_last_monday_before_today: 2
+counter_last_tuesday_before_today: 2
+counter_last_day: 1
+counter_last_day_at: 2010-06-17 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[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: 2\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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 = 0, counter_data = '---
+counter_last_monday_before_today: 3
+counter_last_tuesday_before_today: 3
+counter_last_day: 3
+counter_last_day_at: 2010-06-18 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-17 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 2
+ WHERE id = 1
+[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: 3\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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 = 0, counter_data = '---
+counter_last_monday_before_today: 4
+counter_last_tuesday_before_today: 4
+counter_last_day: 4
+counter_last_day_at: 2010-06-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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.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.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 (1.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 (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('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.4ms)[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 (1.7ms)[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 = 0, counter_data = '---
+counter_last_monday: 1
+counter_last_monday_before_today: 0
+counter_last_tuesday_before_today: 1
+counter_last_day: 1
+counter_last_day_at: 2010-06-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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: 1\ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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 = 0, counter_data = '---
+counter_last_monday: 2
+counter_last_monday_before_today: 0
+counter_last_tuesday_before_today: 2
+counter_last_day: 1
+counter_last_day_at: 2010-06-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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: 2\ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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 = 0, counter_data = '---
+counter_last_monday: 2
+counter_last_monday_before_today: 3
+counter_last_tuesday_before_today: 2
+counter_last_day: 3
+counter_last_tuesday: 1
+counter_last_day_at: 2010-06-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 2
+ WHERE id = 1
+[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: 2\ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_tuesday: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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 = 0, counter_data = '---
+counter_last_monday: 2
+counter_last_monday_before_today: 4
+counter_last_tuesday_before_today: 4
+counter_last_day: 4
+counter_last_tuesday: 1
+counter_last_day_at: 2010-06-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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.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.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.6ms)[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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.3ms)[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.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 (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.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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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_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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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.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.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 [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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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.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.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.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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (3.1ms)[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.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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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.5ms)[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.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 (58.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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (7.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: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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 (10.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.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.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.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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (2.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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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 (37.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.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.7ms)[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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.2ms)[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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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.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.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.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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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.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_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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 (39.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.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 [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.4ms)[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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.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.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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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.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.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.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.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.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.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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[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 (22.3ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.8ms)[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.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 (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-14 00:00:00 Z
+counter_last_wednesday_before_today: 1
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[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-14 00:00:00 Z
+counter_last_wednesday_before_today: 2
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
+ WHERE id = 1
+[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-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[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-15 00:00:00 Z
+counter_last_wednesday_before_today: 3
+counter_last_2_days_at: 2010-06-14 00:00:00 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
+ WHERE id = 1
+[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.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.2ms)[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-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[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-19 00:00:00 Z
+counter_last_wednesday_before_today: 4
+counter_last_2_days_at: 2010-06-19 00:00:00 Z
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m