has_moderated 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -17,6 +17,13 @@ To set up has_moderated in your project, use
17
17
 
18
18
  This will generate a Moderation model and a migration for it.
19
19
 
20
+ == Upgrading
21
+
22
+ When upgrading, rerun the generator
23
+
24
+ rails generate has_moderated:install
25
+
26
+ If there is a new migration file and you have filename conflicts, remove the old one and apply the new one, in case the schema changed.
20
27
  == Usage
21
28
  To moderate one or more attributes, add
22
29
 
@@ -1,5 +1,9 @@
1
1
  class CreateModerations < ActiveRecord::Migration
2
2
  def self.up
3
+ if table_exists? :moderations # for upgrading
4
+ Moderation.all.each { |m| m.accept }
5
+ drop_table :moderations
6
+ end
3
7
  create_table "moderations" do |t|
4
8
  t.integer "moderatable_id", :null => true
5
9
  t.string "moderatable_type", :null => false
@@ -8,20 +8,25 @@ class Moderation < ActiveRecord::Base
8
8
  moderatable.destroy
9
9
  moderatable.has_moderated_updating = false
10
10
  self.destroy
11
- # case: moderated existance (new record)
12
11
  elsif attr_name == '-'
13
- # create the main record
14
- rec = moderatable_type.constantize.new
15
12
  loaded_val = YAML::load(attr_value)
16
- attrs = loaded_val[:main_model]
17
- # bypass attr_accessible protection
18
- attrs.each_pair do |key, val|
19
- rec.send(key.to_s+"=", val) unless key.to_s == 'id'
13
+ # case: moderated existance (new record)
14
+ if moderatable_id.blank?
15
+ # create the main record
16
+ rec = moderatable_type.constantize.new
17
+ attrs = loaded_val[:main_model]
18
+ # bypass attr_accessible protection
19
+ attrs.each_pair do |key, val|
20
+ rec.send(key.to_s+"=", val) unless key.to_s == 'id'
21
+ end
22
+ # temporarily disable moderation check on save, and save updated record
23
+ rec.has_moderated_updating = true
24
+ rec.save
25
+ rec.has_moderated_updating = false
26
+ # case: moderated associations (existing record)
27
+ else
28
+ rec = moderatable
20
29
  end
21
- # temporarily disable moderation check on save, and save updated record
22
- rec.has_moderated_updating = true
23
- rec.save
24
- rec.has_moderated_updating = false
25
30
 
26
31
  # check for saved associated records
27
32
  loaded_val[:associations].each_pair do |assoc_name, assoc_records|
data/lib/has_moderated.rb CHANGED
@@ -13,11 +13,17 @@ module HasModerated
13
13
  has_many :moderations, :as => :moderatable, :dependent => :destroy
14
14
 
15
15
  cattr_accessor :moderated_attributes
16
+ cattr_accessor :moderated_options
16
17
 
17
18
  self.moderated_attributes ||= []
19
+ self.moderated_options ||= {}
18
20
 
19
21
  args.each do |arg|
20
- self.moderated_attributes.push(arg.to_s)
22
+ if arg.respond_to?("[]")
23
+ self.moderated_options = self.moderated_options.merge(arg)
24
+ else
25
+ self.moderated_attributes.push(arg.to_s)
26
+ end
21
27
  end
22
28
 
23
29
  # use an attribute to temporarily disable moderation before_save filter
@@ -101,10 +107,10 @@ module HasModerated
101
107
  :attr_value => "destroy"
102
108
  })
103
109
  end
104
-
105
- def to_moderation_created options
110
+
111
+ def get_assocs_for_moderation options
106
112
  assocs = []
107
-
113
+
108
114
  unless options.blank?
109
115
  unless options[:with_associations].blank?
110
116
  if options[:with_associations] == :all
@@ -131,6 +137,12 @@ module HasModerated
131
137
  assoc_attrs[assoc] = one_assoc unless one_assoc.empty?
132
138
  end
133
139
 
140
+ assoc_attrs
141
+ end
142
+
143
+ def to_moderation_created options
144
+ assoc_attrs = get_assocs_for_moderation(options)
145
+
134
146
  attr_value = {
135
147
  :main_model => self.attributes,
136
148
  :associations => assoc_attrs
@@ -159,6 +171,34 @@ module HasModerated
159
171
  self.send(att_name+"=", values[0])
160
172
  end
161
173
  end
174
+
175
+ moderations
176
+ end
177
+
178
+ def add_associations_moderated assocs
179
+ assoc_attrs = {}
180
+ assocs.each_pair do |assoc_name, assoc|
181
+ one_assoc = []
182
+ assoc.each do |m|
183
+ if m.new_record?
184
+ one_assoc.push(m.attributes)
185
+ else
186
+ one_assoc.push(m.id)
187
+ end
188
+ end
189
+ assoc_attrs[assoc_name] = one_assoc unless one_assoc.empty?
190
+ end
191
+
192
+ moderations = []
193
+ if !assoc_attrs.empty?
194
+ moderations.push(Moderation.create!({
195
+ :moderatable_type => self.class.to_s,
196
+ :moderatable_id => self.id,
197
+ :attr_name => "-",
198
+ :attr_value => { :associations => assoc_attrs }
199
+ }))
200
+ end
201
+
162
202
  moderations
163
203
  end
164
204
  end
@@ -1,3 +1,3 @@
1
1
  module HasModerated
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -8,20 +8,25 @@ class Moderation < ActiveRecord::Base
8
8
  moderatable.destroy
9
9
  moderatable.has_moderated_updating = false
10
10
  self.destroy
11
- # case: moderated existance (new record)
12
11
  elsif attr_name == '-'
13
- # create the main record
14
- rec = moderatable_type.constantize.new
15
12
  loaded_val = YAML::load(attr_value)
16
- attrs = loaded_val[:main_model]
17
- # bypass attr_accessible protection
18
- attrs.each_pair do |key, val|
19
- rec.send(key.to_s+"=", val) unless key.to_s == 'id'
13
+ # case: moderated existance (new record)
14
+ if moderatable_id.blank?
15
+ # create the main record
16
+ rec = moderatable_type.constantize.new
17
+ attrs = loaded_val[:main_model]
18
+ # bypass attr_accessible protection
19
+ attrs.each_pair do |key, val|
20
+ rec.send(key.to_s+"=", val) unless key.to_s == 'id'
21
+ end
22
+ # temporarily disable moderation check on save, and save updated record
23
+ rec.has_moderated_updating = true
24
+ rec.save
25
+ rec.has_moderated_updating = false
26
+ # case: moderated associations (existing record)
27
+ else
28
+ rec = moderatable
20
29
  end
21
- # temporarily disable moderation check on save, and save updated record
22
- rec.has_moderated_updating = true
23
- rec.save
24
- rec.has_moderated_updating = false
25
30
 
26
31
  # check for saved associated records
27
32
  loaded_val[:associations].each_pair do |assoc_name, assoc_records|
@@ -1,7 +1,7 @@
1
1
  class Task < ActiveRecord::Base
2
2
  attr_accessible :title
3
3
  has_many :subtasks
4
- has_moderated :title, :desc
4
+ has_moderated :title, :desc, { :with_associations => [:subtasks] }
5
5
  has_moderated_create :with_associations => [:subtasks]
6
6
  has_moderated_destroy
7
7
  end
Binary file
@@ -626,3 +626,636 @@ Migrating to AddTaskAllIdToSubtasks (20110908025606)
626
626
   (82.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
627
627
   (74.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
628
628
   (82.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
629
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
630
+ Migrating to CreateTasks (20110901013205)
631
+ Migrating to CreateSubtasks (20110901013228)
632
+ Migrating to CreateModerations (20110901013618)
633
+ Migrating to CreateTaskAlls (20110908025410)
634
+ Migrating to AddTaskAllIdToSubtasks (20110908025606)
635
+ Migrating to Testmig (20110908032414)
636
+  (0.1ms) select sqlite_version(*)
637
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" 
638
+  (0.5ms) DROP TABLE "moderations"
639
+  (0.3ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
640
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110908032414')
641
+  (0.2ms) select sqlite_version(*)
642
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
643
+  (0.1ms) PRAGMA index_list("moderations")
644
+  (0.1ms) PRAGMA index_list("subtasks")
645
+  (0.1ms) PRAGMA index_list("task_alls")
646
+  (0.1ms) PRAGMA index_list("tasks")
647
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
648
+  (0.1ms) select sqlite_version(*)
649
+  (97.0ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
650
+  (61.0ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
651
+  (84.6ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
652
+  (50.7ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
653
+  (79.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
654
+  (0.1ms) PRAGMA index_list("schema_migrations")
655
+  (59.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
656
+  (0.2ms) SELECT version FROM "schema_migrations"
657
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
658
+  (49.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
659
+  (49.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
660
+  (49.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
661
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
662
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
663
+  (0.1ms) select sqlite_version(*)
664
+  (102.6ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
665
+  (65.2ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
666
+  (73.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
667
+  (70.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
668
+  (77.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
669
+  (0.1ms) PRAGMA index_list("schema_migrations")
670
+  (53.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
671
+  (0.2ms) SELECT version FROM "schema_migrations"
672
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
673
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
674
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
675
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
676
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
677
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
678
+  (0.1ms) select sqlite_version(*)
679
+  (95.6ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
680
+  (65.1ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
681
+  (79.5ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
682
+  (64.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
683
+  (82.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
684
+  (0.1ms) PRAGMA index_list("schema_migrations")
685
+  (64.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
686
+  (0.2ms) SELECT version FROM "schema_migrations"
687
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
688
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
689
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
690
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
691
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
692
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
693
+  (0.1ms) select sqlite_version(*)
694
+  (103.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
695
+  (62.8ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
696
+  (82.7ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
697
+  (52.7ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
698
+  (86.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
699
+  (0.1ms) PRAGMA index_list("schema_migrations")
700
+  (61.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
701
+  (0.2ms) SELECT version FROM "schema_migrations"
702
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
703
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
704
+  (49.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
705
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
706
+  (49.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
707
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
708
+  (0.1ms) select sqlite_version(*)
709
+  (149.0ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
710
+  (66.9ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
711
+  (87.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
712
+  (56.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
713
+  (73.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
714
+  (0.1ms) PRAGMA index_list("schema_migrations")
715
+  (65.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
716
+  (0.2ms) SELECT version FROM "schema_migrations"
717
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
718
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
719
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
720
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
721
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
722
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
723
+  (0.1ms) select sqlite_version(*)
724
+  (101.1ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
725
+  (69.4ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
726
+  (85.6ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
727
+  (58.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
728
+  (73.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
729
+  (0.1ms) PRAGMA index_list("schema_migrations")
730
+  (65.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
731
+  (0.2ms) SELECT version FROM "schema_migrations"
732
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
733
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
734
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
735
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
736
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
737
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
738
+  (0.1ms) select sqlite_version(*)
739
+  (97.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
740
+  (68.9ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
741
+  (84.6ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
742
+  (67.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
743
+  (88.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
744
+  (0.1ms) PRAGMA index_list("schema_migrations")
745
+  (67.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
746
+  (0.2ms) SELECT version FROM "schema_migrations"
747
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
748
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
749
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
750
+  (66.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
751
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
752
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
753
+  (0.1ms) select sqlite_version(*)
754
+  (93.8ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
755
+  (55.5ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
756
+  (83.1ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
757
+  (60.6ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
758
+  (78.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
759
+  (0.1ms) PRAGMA index_list("schema_migrations")
760
+  (60.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
761
+  (0.2ms) SELECT version FROM "schema_migrations"
762
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
763
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
764
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
765
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
766
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
767
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
768
+  (0.1ms) select sqlite_version(*)
769
+  (84.3ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
770
+  (65.4ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
771
+  (81.3ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
772
+  (70.7ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
773
+  (93.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
774
+  (0.1ms) PRAGMA index_list("schema_migrations")
775
+  (70.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
776
+  (0.2ms) SELECT version FROM "schema_migrations"
777
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
778
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
779
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
780
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
781
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
782
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
783
+  (0.1ms) select sqlite_version(*)
784
+  (133.5ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
785
+  (205.9ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
786
+  (86.9ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
787
+  (73.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
788
+  (81.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
789
+  (0.1ms) PRAGMA index_list("schema_migrations")
790
+  (57.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
791
+  (0.2ms) SELECT version FROM "schema_migrations"
792
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
793
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
794
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
795
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
796
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
797
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
798
+  (0.1ms) select sqlite_version(*)
799
+  (80.5ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
800
+  (64.3ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
801
+  (84.0ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
802
+  (69.6ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
803
+  (78.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
804
+  (0.1ms) PRAGMA index_list("schema_migrations")
805
+  (60.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
806
+  (0.2ms) SELECT version FROM "schema_migrations"
807
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
808
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
809
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
810
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
811
+  (49.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
812
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
813
+  (0.1ms) select sqlite_version(*)
814
+  (102.9ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
815
+  (66.9ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
816
+  (80.0ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
817
+  (72.0ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
818
+  (83.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
819
+  (0.1ms) PRAGMA index_list("schema_migrations")
820
+  (72.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
821
+  (0.2ms) SELECT version FROM "schema_migrations"
822
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
823
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
824
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
825
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
826
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
827
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
828
+  (0.1ms) select sqlite_version(*)
829
+  (98.7ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
830
+  (70.8ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
831
+  (84.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
832
+  (76.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
833
+  (88.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
834
+  (0.1ms) PRAGMA index_list("schema_migrations")
835
+  (67.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
836
+  (0.2ms) SELECT version FROM "schema_migrations"
837
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
838
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
839
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
840
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
841
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
842
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
843
+  (0.1ms) select sqlite_version(*)
844
+  (96.8ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
845
+  (73.6ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
846
+  (73.4ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
847
+  (70.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
848
+  (85.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
849
+  (0.1ms) PRAGMA index_list("schema_migrations")
850
+  (70.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
851
+  (0.2ms) SELECT version FROM "schema_migrations"
852
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
853
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
854
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
855
+  (220.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
856
+  (62.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
857
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
858
+  (0.1ms) select sqlite_version(*)
859
+  (152.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
860
+  (67.7ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
861
+  (79.8ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
862
+  (80.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
863
+  (83.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
864
+  (0.1ms) PRAGMA index_list("schema_migrations")
865
+  (72.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
866
+  (0.2ms) SELECT version FROM "schema_migrations"
867
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
868
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
869
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
870
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
871
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
872
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
873
+  (0.1ms) select sqlite_version(*)
874
+  (100.0ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
875
+  (61.7ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
876
+  (85.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
877
+  (58.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
878
+  (88.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
879
+  (0.1ms) PRAGMA index_list("schema_migrations")
880
+  (75.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
881
+  (0.2ms) SELECT version FROM "schema_migrations"
882
+  (55.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
883
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
884
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
885
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
886
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
887
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
888
+  (0.1ms) select sqlite_version(*)
889
+  (98.0ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
890
+  (65.2ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
891
+  (82.8ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
892
+  (69.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
893
+  (86.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
894
+  (0.1ms) PRAGMA index_list("schema_migrations")
895
+  (61.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
896
+  (0.2ms) SELECT version FROM "schema_migrations"
897
+  (64.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
898
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
899
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
900
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
901
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
902
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
903
+  (0.1ms) select sqlite_version(*)
904
+  (103.4ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
905
+  (60.1ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
906
+  (86.9ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
907
+  (73.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
908
+  (73.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
909
+  (0.1ms) PRAGMA index_list("schema_migrations")
910
+  (65.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
911
+  (0.3ms) SELECT version FROM "schema_migrations"
912
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
913
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
914
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
915
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
916
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
917
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
918
+  (0.1ms) select sqlite_version(*)
919
+  (107.4ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
920
+  (60.4ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
921
+  (78.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
922
+  (65.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
923
+  (81.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
924
+  (0.1ms) PRAGMA index_list("schema_migrations")
925
+  (57.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
926
+  (0.3ms) SELECT version FROM "schema_migrations"
927
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
928
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
929
+  (99.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
930
+  (74.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
931
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
932
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
933
+  (0.1ms) select sqlite_version(*)
934
+  (85.3ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
935
+  (63.5ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
936
+  (84.4ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
937
+  (59.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
938
+  (87.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
939
+  (0.1ms) PRAGMA index_list("schema_migrations")
940
+  (68.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
941
+  (0.2ms) SELECT version FROM "schema_migrations"
942
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
943
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
944
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
945
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
946
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
947
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
948
+  (0.1ms) select sqlite_version(*)
949
+  (128.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
950
+  (126.4ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
951
+  (120.4ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
952
+  (64.9ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
953
+  (91.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
954
+  (0.1ms) PRAGMA index_list("schema_migrations")
955
+  (63.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
956
+  (0.2ms) SELECT version FROM "schema_migrations"
957
+  (76.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
958
+  (62.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
959
+  (53.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
960
+  (58.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
961
+  (57.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
962
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
963
+  (0.1ms) select sqlite_version(*)
964
+  (90.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
965
+  (64.3ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
966
+  (83.7ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
967
+  (69.8ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
968
+  (85.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
969
+  (0.1ms) PRAGMA index_list("schema_migrations")
970
+  (61.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
971
+  (0.3ms) SELECT version FROM "schema_migrations"
972
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
973
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
974
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
975
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
976
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
977
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
978
+  (0.1ms) select sqlite_version(*)
979
+  (103.5ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
980
+  (66.1ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
981
+  (71.3ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
982
+  (64.0ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
983
+  (74.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
984
+  (0.1ms) PRAGMA index_list("schema_migrations")
985
+  (56.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
986
+  (0.3ms) SELECT version FROM "schema_migrations"
987
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
988
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
989
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
990
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
991
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
992
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
993
+  (0.1ms) select sqlite_version(*)
994
+  (102.1ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
995
+  (62.2ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
996
+  (84.8ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
997
+  (67.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
998
+  (79.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
999
+  (0.1ms) PRAGMA index_list("schema_migrations")
1000
+  (67.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1001
+  (0.2ms) SELECT version FROM "schema_migrations"
1002
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1003
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1004
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1005
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1006
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1007
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1008
+  (0.1ms) select sqlite_version(*)
1009
+  (98.6ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1010
+  (64.7ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1011
+  (90.5ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1012
+  (61.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1013
+  (85.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1014
+  (0.1ms) PRAGMA index_list("schema_migrations")
1015
+  (70.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1016
+  (0.3ms) SELECT version FROM "schema_migrations"
1017
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1018
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1019
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1020
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1021
+  (49.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1022
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1023
+  (0.1ms) select sqlite_version(*)
1024
+  (90.8ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1025
+  (60.7ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1026
+  (85.4ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1027
+  (58.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1028
+  (80.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1029
+  (0.1ms) PRAGMA index_list("schema_migrations")
1030
+  (66.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1031
+  (0.2ms) SELECT version FROM "schema_migrations"
1032
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1033
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1034
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1035
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1036
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1037
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1038
+  (0.1ms) select sqlite_version(*)
1039
+  (101.5ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1040
+  (70.2ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1041
+  (86.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1042
+  (67.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1043
+  (88.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1044
+  (0.1ms) PRAGMA index_list("schema_migrations")
1045
+  (67.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1046
+  (0.3ms) SELECT version FROM "schema_migrations"
1047
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1048
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1049
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1050
+  (66.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1051
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1052
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1053
+  (0.1ms) select sqlite_version(*)
1054
+  (102.1ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1055
+  (66.2ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1056
+  (80.2ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1057
+  (63.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1058
+  (84.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1059
+  (0.2ms) PRAGMA index_list("schema_migrations")
1060
+  (71.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1061
+  (0.3ms) SELECT version FROM "schema_migrations"
1062
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1063
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1064
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1065
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1066
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1067
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1068
+  (0.1ms) select sqlite_version(*)
1069
+  (95.7ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1070
+  (53.3ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1071
+  (84.3ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1072
+  (67.8ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1073
+  (87.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1074
+  (0.1ms) PRAGMA index_list("schema_migrations")
1075
+  (68.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1076
+  (0.2ms) SELECT version FROM "schema_migrations"
1077
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1078
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1079
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1080
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1081
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1082
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1083
+  (0.1ms) select sqlite_version(*)
1084
+  (98.3ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1085
+  (58.6ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1086
+  (72.8ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1087
+  (55.8ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1088
+  (74.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1089
+  (0.1ms) PRAGMA index_list("schema_migrations")
1090
+  (64.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1091
+  (0.2ms) SELECT version FROM "schema_migrations"
1092
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1093
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1094
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1095
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1096
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1097
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1098
+  (0.1ms) select sqlite_version(*)
1099
+  (104.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1100
+  (62.6ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1101
+  (86.4ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1102
+  (65.6ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1103
+  (81.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1104
+  (0.1ms) PRAGMA index_list("schema_migrations")
1105
+  (57.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1106
+  (0.3ms) SELECT version FROM "schema_migrations"
1107
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1108
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1109
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1110
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1111
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1112
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1113
+  (0.1ms) select sqlite_version(*)
1114
+  (123.6ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1115
+  (55.1ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1116
+  (73.1ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1117
+  (62.3ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1118
+  (84.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1119
+  (0.1ms) PRAGMA index_list("schema_migrations")
1120
+  (62.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1121
+  (0.2ms) SELECT version FROM "schema_migrations"
1122
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1123
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1124
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1125
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1126
+  (49.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1127
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1128
+  (0.1ms) select sqlite_version(*)
1129
+  (88.8ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1130
+  (68.3ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1131
+  (76.6ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1132
+  (67.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1133
+  (79.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1134
+  (0.1ms) PRAGMA index_list("schema_migrations")
1135
+  (59.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1136
+  (0.2ms) SELECT version FROM "schema_migrations"
1137
+  (55.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1138
+  (49.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1139
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1140
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1141
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1142
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1143
+  (0.1ms) select sqlite_version(*)
1144
+  (88.4ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1145
+  (62.6ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1146
+  (82.3ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1147
+  (69.8ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1148
+  (77.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1149
+  (0.1ms) PRAGMA index_list("schema_migrations")
1150
+  (61.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1151
+  (0.2ms) SELECT version FROM "schema_migrations"
1152
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1153
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1154
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1155
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1156
+  (49.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1157
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1158
+  (0.1ms) select sqlite_version(*)
1159
+  (103.2ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1160
+  (58.0ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1161
+  (71.8ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1162
+  (71.9ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1163
+  (84.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1164
+  (0.1ms) PRAGMA index_list("schema_migrations")
1165
+  (71.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1166
+  (0.2ms) SELECT version FROM "schema_migrations"
1167
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1168
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1169
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1170
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1171
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1172
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1173
+  (0.1ms) select sqlite_version(*)
1174
+  (125.3ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1175
+  (58.8ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1176
+  (71.6ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1177
+  (72.0ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1178
+  (74.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1179
+  (0.1ms) PRAGMA index_list("schema_migrations")
1180
+  (64.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1181
+  (0.2ms) SELECT version FROM "schema_migrations"
1182
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1183
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1184
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1185
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1186
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1187
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1188
+  (0.1ms) select sqlite_version(*)
1189
+  (98.8ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1190
+  (71.4ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1191
+  (90.3ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1192
+  (70.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1193
+  (93.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1194
+  (0.1ms) PRAGMA index_list("schema_migrations")
1195
+  (70.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1196
+  (0.2ms) SELECT version FROM "schema_migrations"
1197
+  (64.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1198
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1199
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1200
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1201
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1202
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1203
+  (0.1ms) select sqlite_version(*)
1204
+  (105.4ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1205
+  (52.6ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1206
+  (87.0ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1207
+  (65.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1208
+  (82.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1209
+  (0.1ms) PRAGMA index_list("schema_migrations")
1210
+  (65.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1211
+  (0.2ms) SELECT version FROM "schema_migrations"
1212
+  (64.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1213
+  (57.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1214
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1215
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1216
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1217
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1218
+  (0.1ms) select sqlite_version(*)
1219
+  (90.4ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1220
+  (62.7ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1221
+  (77.1ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1222
+  (51.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1223
+  (87.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1224
+  (0.1ms) PRAGMA index_list("schema_migrations")
1225
+  (60.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1226
+  (0.2ms) SELECT version FROM "schema_migrations"
1227
+  (55.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1228
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1229
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1230
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1231
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1232
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1233
+  (0.1ms) select sqlite_version(*)
1234
+  (107.8ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1235
+  (65.7ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1236
+  (88.6ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1237
+  (63.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1238
+  (91.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1239
+  (0.1ms) PRAGMA index_list("schema_migrations")
1240
+  (69.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1241
+  (0.3ms) SELECT version FROM "schema_migrations"
1242
+  (58.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1243
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1244
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1245
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1246
+  (57.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
1247
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1248
+  (0.1ms) select sqlite_version(*)
1249
+  (106.7ms) CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime) 
1250
+  (58.6ms) CREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer)
1251
+  (80.1ms) CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) 
1252
+  (71.9ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
1253
+  (91.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1254
+  (0.1ms) PRAGMA index_list("schema_migrations")
1255
+  (72.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1256
+  (0.2ms) SELECT version FROM "schema_migrations"
1257
+  (72.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
1258
+  (66.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
1259
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
1260
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
1261
+  (66.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')