Permalink
Browse files

remove test logs

  • Loading branch information...
1 parent 81d7902 commit a17240ba7f321cd0c9d8ad1065f25f665f5e3d60 @angelic committed Feb 2, 2012
Showing with 2 additions and 2,507 deletions.
  1. +2 −0 .gitignore
  2. +0 −283 test/dummy/log/development.log
  3. +0 −2,224 test/dummy/log/test.log
View
@@ -1 +1,3 @@
pkg
+test/dummy/log/*.log
+test/dummy/tmp
@@ -1,283 +0,0 @@
-  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-Migrating to AddScheduleFuTables (20120121210741)
-  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-Migrating to AddScheduleFuTables (20120121210741)
-  (2.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-Migrating to AddScheduleFuTables (20120121210741)
-  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-Migrating to AddScheduleFuTables (20120121210741)
-  (177.1ms) CREATE TABLE `calendars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `desc` text) ENGINE=InnoDB
-  (0.1ms) BEGIN
- SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES (NULL)
-  (84.0ms) COMMIT
-  (165.7ms) CREATE TABLE `calendar_dates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `value` date NOT NULL, `weekday` tinyint NOT NULL, `monthweek` tinyint NOT NULL, `monthday` tinyint NOT NULL, `month` tinyint NOT NULL, `lastweek` tinyint(1) DEFAULT 0 NOT NULL) ENGINE=InnoDB
-  (322.6ms) CREATE UNIQUE INDEX `index_calendar_dates_on_value` ON `calendar_dates` (`value`)
-  (166.4ms) CREATE TABLE `calendar_event_types` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `desc` varchar(255)) ENGINE=InnoDB
-  (0.1ms) BEGIN
- SQL (0.3ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Does not repeat', 'norepeat')
-  (88.0ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Weekdays (M-F)', 'weekdays')
-  (52.8ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Daily', 'daily')
-  (53.7ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Weekly', 'weekly')
-  (53.7ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Monthly', 'monthly')
-  (53.7ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Yearly', 'yearly')
-  (53.3ms) COMMIT
-  (255.7ms) CREATE TABLE `calendar_events` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `calendar_id` int(11) NOT NULL, `calendar_event_type_id` int(11), `by_day_of_month` tinyint(1) DEFAULT 0 NOT NULL, `start_date` date, `end_date` date, `start_time` time, `end_time` time, `desc` text, `long_desc` text) ENGINE=InnoDB
-  (189.8ms) CREATE TABLE `calendar_event_mods` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `calendar_event_id` int(11) NOT NULL, `calendar_date_id` int(11) NOT NULL, `start_time` time, `end_time` time, `desc` text, `long_desc` text, `removed` tinyint(1) DEFAULT 0 NOT NULL) ENGINE=InnoDB
-  (311.7ms) CREATE UNIQUE INDEX `calendar_event_mods_for_event_and_date` ON `calendar_event_mods` (`calendar_event_id`, `calendar_date_id`)
-  (166.2ms) CREATE TABLE `calendar_recurrences` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `calendar_event_id` int(11) NOT NULL, `weekday` tinyint, `monthweek` tinyint, `monthday` tinyint, `month` tinyint) ENGINE=InnoDB
-  (122.4ms)  CREATE VIEW calendar_event_dates AS
- SELECT
- ce.id
- AS calendar_event_id,
- cd.id
- AS calendar_date_id,
- cem.id
- AS calendar_event_mod_id,
- cd.value
- AS date_value,
- COALESCE(cem.start_time, ce.start_time)
- AS start_time,
- COALESCE(cem.end_time, ce.end_time)
- AS end_time,
- COALESCE(cem.desc, ce.desc)
- AS 'desc',
- COALESCE(cem.long_desc, ce.long_desc)
- AS long_desc,
- ((ce.calendar_event_type_id IN (4,5,6) AND cr.id IS NULL)
- OR (ce.start_date IS NOT NULL AND cd.value < ce.start_date)
- OR (ce.end_date IS NOT NULL AND cd.value > ce.end_date)
- OR (ce.calendar_event_type_id = 2 AND cd.weekday not in (1,2,3,4,5)))
- AS added,
- (cem.id IS NOT NULL AND cem.removed = true)
- AS removed,
- (cem.id IS NOT NULL AND cem.removed = false AND
- (cem.start_time IS NOT NULL OR cem.end_time IS NOT NULL
- OR cem.desc IS NOT NULL OR cem.long_desc IS NOT NULL))
- AS modified
- FROM calendar_dates cd
- LEFT OUTER JOIN calendar_events ce ON
- (ce.start_date IS NULL OR ce.start_date IS NOT NULL)
- LEFT OUTER JOIN calendar_event_mods cem
- ON cem.calendar_date_id = cd.id
- AND cem.calendar_event_id = ce.id
- LEFT OUTER JOIN calendar_recurrences cr ON cr.calendar_event_id = ce.id
- AND ce.calendar_event_type_id IN (4,5,6)
- WHERE
- (
- cd.id IS NOT NULL OR cem.id IS NOT NULL
- ) AND (
- ((ce.start_date IS NULL OR cd.value >= ce.start_date)
- AND (ce.end_date IS NULL OR cd.value <= ce.end_date))
- OR cem.id IS NOT NULL
- ) AND (
- cem.id IS NOT NULL
- OR (
- ce.calendar_event_type_id = 1
- AND ce.start_date = cd.value
- ) OR (
- ce.calendar_event_type_id = 2 AND cd.weekday IN (1,2,3,4,5)
- ) OR (
- ce.calendar_event_type_id = 3
- ) OR (
- ce.calendar_event_type_id = 4
- AND cr.weekday = cd.weekday
- ) OR (
- ce.calendar_event_type_id = 5
- AND (
-
- (
- ce.by_day_of_month = false
- AND cr.weekday = cd.weekday
- AND (
- cr.monthweek = cd.monthweek
- OR (
- cr.monthweek = -1
- AND cd.lastweek = true
- )
- )
- ) OR (
- ce.by_day_of_month = true AND cr.monthday = cd.monthday
- )
-
- ) OR (
- ce.calendar_event_type_id = 6
- AND cd.month = cr.month
- AND (
-
- (
- ce.by_day_of_month = false
- AND cr.weekday = cd.weekday
- AND (
- cr.monthweek = cd.monthweek
- OR (
- cr.monthweek = -1
- AND cd.lastweek = true
- )
- )
- ) OR (
- ce.by_day_of_month = true AND cr.monthday = cd.monthday
- )
-
- )
- )
- )
- );
-
-  (55.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120121210741')
-  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
-Migrating to AddScheduleFuTables (20120121210741)
-  (0.3ms) DROP VIEW calendar_event_dates
-  (59.9ms) DROP TABLE `calendar_recurrences`
-  (77.7ms) DROP TABLE `calendar_event_mods`
-  (68.3ms) DROP TABLE `calendar_events`
-  (66.8ms) DROP TABLE `calendar_event_types`
-  (332.1ms) DROP INDEX `index_calendar_dates_on_value` ON `calendar_dates`
-  (66.3ms) DROP TABLE `calendar_dates`
-  (66.9ms) DROP TABLE `calendars`
-  (66.1ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20120121210741'
-  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
-  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
-Migrating to AddScheduleFuTables (20120121220057)
-  (204.5ms) CREATE TABLE `calendars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `desc` text) ENGINE=InnoDB
-  (0.1ms) BEGIN
- SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES (NULL)
-  (93.1ms) COMMIT
-  (165.4ms) CREATE TABLE `calendar_dates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `value` date NOT NULL, `weekday` tinyint NOT NULL, `monthweek` tinyint NOT NULL, `monthday` tinyint NOT NULL, `month` tinyint NOT NULL, `lastweek` tinyint(1) DEFAULT 0 NOT NULL) ENGINE=InnoDB
-  (311.5ms) CREATE UNIQUE INDEX `index_calendar_dates_on_value` ON `calendar_dates` (`value`)
-  (155.1ms) CREATE TABLE `calendar_event_types` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `desc` varchar(255)) ENGINE=InnoDB
-  (0.2ms) BEGIN
- SQL (0.3ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Does not repeat', 'norepeat')
-  (74.8ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Weekdays (M-F)', 'weekdays')
-  (41.7ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Daily', 'daily')
-  (42.5ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Weekly', 'weekly')
-  (42.7ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Monthly', 'monthly')
-  (42.5ms) COMMIT
-  (0.1ms) BEGIN
- SQL (0.2ms) INSERT INTO `calendar_event_types` (`desc`, `name`) VALUES ('Yearly', 'yearly')
-  (42.6ms) COMMIT
-  (154.9ms) CREATE TABLE `calendar_events` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `calendar_id` int(11) NOT NULL, `calendar_event_type_id` int(11), `by_day_of_month` tinyint(1) DEFAULT 0 NOT NULL, `start_date` date, `end_date` date, `start_time` time, `end_time` time, `desc` text, `long_desc` text) ENGINE=InnoDB
-  (156.6ms) CREATE TABLE `calendar_event_mods` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `calendar_event_id` int(11) NOT NULL, `calendar_date_id` int(11) NOT NULL, `start_time` time, `end_time` time, `desc` text, `long_desc` text, `removed` tinyint(1) DEFAULT 0 NOT NULL) ENGINE=InnoDB
-  (322.7ms) CREATE UNIQUE INDEX `calendar_event_mods_for_event_and_date` ON `calendar_event_mods` (`calendar_event_id`, `calendar_date_id`)
-  (144.1ms) CREATE TABLE `calendar_recurrences` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `calendar_event_id` int(11) NOT NULL, `weekday` tinyint, `monthweek` tinyint, `monthday` tinyint, `month` tinyint) ENGINE=InnoDB
-  (44.7ms)  CREATE VIEW calendar_event_dates AS
- SELECT
- ce.id
- AS calendar_event_id,
- cd.id
- AS calendar_date_id,
- cem.id
- AS calendar_event_mod_id,
- cd.value
- AS date_value,
- COALESCE(cem.start_time, ce.start_time)
- AS start_time,
- COALESCE(cem.end_time, ce.end_time)
- AS end_time,
- COALESCE(cem.desc, ce.desc)
- AS 'desc',
- COALESCE(cem.long_desc, ce.long_desc)
- AS long_desc,
- ((ce.calendar_event_type_id IN (4,5,6) AND cr.id IS NULL)
- OR (ce.start_date IS NOT NULL AND cd.value < ce.start_date)
- OR (ce.end_date IS NOT NULL AND cd.value > ce.end_date)
- OR (ce.calendar_event_type_id = 2 AND cd.weekday not in (1,2,3,4,5)))
- AS added,
- (cem.id IS NOT NULL AND cem.removed = true)
- AS removed,
- (cem.id IS NOT NULL AND cem.removed = false AND
- (cem.start_time IS NOT NULL OR cem.end_time IS NOT NULL
- OR cem.desc IS NOT NULL OR cem.long_desc IS NOT NULL))
- AS modified
- FROM calendar_dates cd
- LEFT OUTER JOIN calendar_events ce ON
- (ce.start_date IS NULL OR ce.start_date IS NOT NULL)
- LEFT OUTER JOIN calendar_event_mods cem
- ON cem.calendar_date_id = cd.id
- AND cem.calendar_event_id = ce.id
- LEFT OUTER JOIN calendar_recurrences cr ON cr.calendar_event_id = ce.id
- AND ce.calendar_event_type_id IN (4,5,6)
- WHERE
- (
- cd.id IS NOT NULL OR cem.id IS NOT NULL
- ) AND (
- ((ce.start_date IS NULL OR cd.value >= ce.start_date)
- AND (ce.end_date IS NULL OR cd.value <= ce.end_date))
- OR cem.id IS NOT NULL
- ) AND (
- cem.id IS NOT NULL
- OR (
- ce.calendar_event_type_id = 1
- AND ce.start_date = cd.value
- ) OR (
- ce.calendar_event_type_id = 2 AND cd.weekday IN (1,2,3,4,5)
- ) OR (
- ce.calendar_event_type_id = 3
- ) OR (
- ce.calendar_event_type_id = 4
- AND cr.weekday = cd.weekday
- ) OR (
- ce.calendar_event_type_id = 5
- AND (
-
- (
- ce.by_day_of_month = false
- AND cr.weekday = cd.weekday
- AND (
- cr.monthweek = cd.monthweek
- OR (
- cr.monthweek = -1
- AND cd.lastweek = true
- )
- )
- ) OR (
- ce.by_day_of_month = true AND cr.monthday = cd.monthday
- )
-
- ) OR (
- ce.calendar_event_type_id = 6
- AND cd.month = cr.month
- AND (
-
- (
- ce.by_day_of_month = false
- AND cr.weekday = cd.weekday
- AND (
- cr.monthweek = cd.monthweek
- OR (
- cr.monthweek = -1
- AND cd.lastweek = true
- )
- )
- ) OR (
- ce.by_day_of_month = true AND cr.monthday = cd.monthday
- )
-
- )
- )
- )
- );
-
-  (77.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120121220057')
-  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
Oops, something went wrong.

0 comments on commit a17240b

Please sign in to comment.