has_moderated 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/has_moderated/carrier_wave.rb +2 -2
- data/lib/has_moderated/version.rb +1 -1
- data/test/dummy/app/models/photo.rb +1 -0
- data/test/dummy/app/models/photo_related.rb +3 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120209045206_create_photo_relateds.rb +10 -0
- data/test/dummy/db/schema.rb +8 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +467 -0
- data/test/dummy/log/test.log +9834 -0
- data/test/dummy/spec/factories/photo_relateds.rb +8 -0
- data/test/dummy/spec/models/photo_related_spec.rb +5 -0
- data/test/dummy/spec/models/photo_spec.rb +14 -0
- metadata +17 -11
@@ -54,7 +54,7 @@ module HasModerated
|
|
54
54
|
def store_photo_with_moderation!
|
55
55
|
is_moderated = self.class.respond_to?(:moderated_attributes) &&
|
56
56
|
self.class.moderated_attributes.include?("carrierwave_photo")
|
57
|
-
if self.has_moderated_updating || !is_moderated
|
57
|
+
if self.has_moderated_updating || !is_moderated || !self.photo_changed?
|
58
58
|
store_photo_without_moderation!
|
59
59
|
else
|
60
60
|
self.moderations.create!({
|
@@ -67,7 +67,7 @@ module HasModerated
|
|
67
67
|
def write_photo_identifier_with_moderation
|
68
68
|
is_moderated = self.class.respond_to?(:moderated_attributes) &&
|
69
69
|
self.class.moderated_attributes.include?("carrierwave_photo")
|
70
|
-
if self.has_moderated_updating || !is_moderated
|
70
|
+
if self.has_moderated_updating || !is_moderated || !self.photo_changed?
|
71
71
|
write_photo_identifier_without_moderation
|
72
72
|
end
|
73
73
|
end
|
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended to check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(:version =>
|
13
|
+
ActiveRecord::Schema.define(:version => 20120209045206) do
|
14
14
|
|
15
15
|
create_table "habtm_name_tests", :force => true do |t|
|
16
16
|
t.string "title"
|
@@ -92,6 +92,13 @@ ActiveRecord::Schema.define(:version => 20111018180207) do
|
|
92
92
|
t.datetime "updated_at"
|
93
93
|
end
|
94
94
|
|
95
|
+
create_table "photo_relateds", :force => true do |t|
|
96
|
+
t.integer "photo_id"
|
97
|
+
t.string "data"
|
98
|
+
t.datetime "created_at"
|
99
|
+
t.datetime "updated_at"
|
100
|
+
end
|
101
|
+
|
95
102
|
create_table "photos", :force => true do |t|
|
96
103
|
t.string "photo"
|
97
104
|
t.datetime "created_at"
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -6618,3 +6618,470 @@ Migrating to CreateHabtmNameTests (20111018180207)
|
|
6618
6618
|
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205545')[0m
|
6619
6619
|
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018172409')
|
6620
6620
|
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018174319')[0m
|
6621
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6622
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6623
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6624
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6625
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6626
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6627
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6628
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6629
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6630
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6631
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6632
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6633
|
+
[1m[36m (1.9ms)[0m [1mCREATE 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) [0m
|
6634
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6635
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer) [0m
|
6636
|
+
[1m[35m (1.8ms)[0m 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)
|
6637
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6638
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime)
|
6639
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6640
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6641
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
6642
|
+
[1m[35m (3.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6643
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6644
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018180207')
|
6645
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013205')[0m
|
6646
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
|
6647
|
+
[1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013618')[0m
|
6648
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
|
6649
|
+
[1m[36m (29.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025606')[0m
|
6650
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003205633')
|
6651
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003234101')[0m
|
6652
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004153147')
|
6653
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004164509')[0m
|
6654
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195728')
|
6655
|
+
[1m[36m (2.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195809')[0m
|
6656
|
+
[1m[35m (2.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009193145')
|
6657
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009201729')[0m
|
6658
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205517')
|
6659
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205545')[0m
|
6660
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018172409')
|
6661
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018174319')[0m
|
6662
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6663
|
+
Migrating to CreateTasks (20110901013205)
|
6664
|
+
Migrating to CreateSubtasks (20110901013228)
|
6665
|
+
Migrating to CreateModerations (20110901013618)
|
6666
|
+
Migrating to CreateTaskAlls (20110908025410)
|
6667
|
+
Migrating to AddTaskAllIdToSubtasks (20110908025606)
|
6668
|
+
Migrating to CreatePhotos (20111003205633)
|
6669
|
+
Migrating to CreateTaskPhotos (20111003234101)
|
6670
|
+
Migrating to CreateHookTests (20111004153147)
|
6671
|
+
Migrating to CreatePhotoHolders (20111004164509)
|
6672
|
+
Migrating to CreateHoneTests (20111008195728)
|
6673
|
+
Migrating to CreateHjoinTests (20111008195809)
|
6674
|
+
Migrating to FixJoinTable (20111009193145)
|
6675
|
+
Migrating to AddTitleToHoneTests (20111009201729)
|
6676
|
+
Migrating to CreateHmanythroughTests (20111009205517)
|
6677
|
+
Migrating to CreateHmanythroughJoins (20111009205545)
|
6678
|
+
Migrating to CreateHoneAsTests (20111018172409)
|
6679
|
+
Migrating to CreateHmanyFkTests (20111018174319)
|
6680
|
+
Migrating to CreateHabtmNameTests (20111018180207)
|
6681
|
+
Migrating to PhotoRelated (20120209044628)
|
6682
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
6683
|
+
[1m[36m (19.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120209044628')[0m
|
6684
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6685
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6686
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("habtm_name_tests")
|
6687
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("habtm_name_tests_tasks")[0m
|
6688
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hjoin_tests")
|
6689
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hjoin_tests_tasks")[0m
|
6690
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hmany_fk_tests")
|
6691
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hmanythrough_joins")[0m
|
6692
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hmanythrough_tests")
|
6693
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hone_as_tests")[0m
|
6694
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hone_tests")
|
6695
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hook_tests")[0m
|
6696
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("moderations")
|
6697
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("photo_holders")[0m
|
6698
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("photos")
|
6699
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("subtasks")[0m
|
6700
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("task_alls")
|
6701
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("task_photos")[0m
|
6702
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tasks")
|
6703
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6704
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6705
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6706
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6707
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6708
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6709
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6710
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6711
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6712
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6713
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6714
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6715
|
+
[1m[36m (1.5ms)[0m [1mCREATE 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) [0m
|
6716
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6717
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer) [0m
|
6718
|
+
[1m[35m (2.2ms)[0m 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)
|
6719
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6720
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime)
|
6721
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6722
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6723
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
6724
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6725
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6726
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120209044628')
|
6727
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013205')[0m
|
6728
|
+
[1m[35m (2.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
|
6729
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013618')[0m
|
6730
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
|
6731
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025606')[0m
|
6732
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003205633')
|
6733
|
+
[1m[36m (2.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003234101')[0m
|
6734
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004153147')
|
6735
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004164509')[0m
|
6736
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195728')
|
6737
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195809')[0m
|
6738
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009193145')
|
6739
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009201729')[0m
|
6740
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205517')
|
6741
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205545')[0m
|
6742
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018172409')
|
6743
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018174319')[0m
|
6744
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018180207')
|
6745
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6746
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6747
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6748
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6749
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6750
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6751
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6752
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6753
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6754
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6755
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6756
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6757
|
+
[1m[36m (1.5ms)[0m [1mCREATE 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) [0m
|
6758
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6759
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer) [0m
|
6760
|
+
[1m[35m (1.6ms)[0m 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)
|
6761
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6762
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime)
|
6763
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6764
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6765
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
6766
|
+
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6767
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6768
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120209044628')
|
6769
|
+
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013205')[0m
|
6770
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
|
6771
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013618')[0m
|
6772
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
|
6773
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025606')[0m
|
6774
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003205633')
|
6775
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003234101')[0m
|
6776
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004153147')
|
6777
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004164509')[0m
|
6778
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195728')
|
6779
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195809')[0m
|
6780
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009193145')
|
6781
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009201729')[0m
|
6782
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205517')
|
6783
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205545')[0m
|
6784
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018172409')
|
6785
|
+
[1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018174319')[0m
|
6786
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018180207')
|
6787
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6788
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6789
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6790
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6791
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6792
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6793
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6794
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6795
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6796
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6797
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6798
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6799
|
+
[1m[36m (1.4ms)[0m [1mCREATE 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) [0m
|
6800
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6801
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer) [0m
|
6802
|
+
[1m[35m (2.0ms)[0m 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)
|
6803
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6804
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime)
|
6805
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6806
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6807
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
6808
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6809
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6810
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120209044628')
|
6811
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013205')[0m
|
6812
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
|
6813
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013618')[0m
|
6814
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
|
6815
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025606')[0m
|
6816
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003205633')
|
6817
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003234101')[0m
|
6818
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004153147')
|
6819
|
+
[1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004164509')[0m
|
6820
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195728')
|
6821
|
+
[1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195809')[0m
|
6822
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009193145')
|
6823
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009201729')[0m
|
6824
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205517')
|
6825
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205545')[0m
|
6826
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018172409')
|
6827
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018174319')[0m
|
6828
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018180207')
|
6829
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6830
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6831
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6832
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6833
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6834
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6835
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6836
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6837
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6838
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6839
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6840
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6841
|
+
[1m[36m (1.9ms)[0m [1mCREATE 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) [0m
|
6842
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6843
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer) [0m
|
6844
|
+
[1m[35m (2.2ms)[0m 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)
|
6845
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6846
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime)
|
6847
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6848
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6849
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
6850
|
+
[1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6851
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6852
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120209044628')
|
6853
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013205')[0m
|
6854
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013228')
|
6855
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013618')[0m
|
6856
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025410')
|
6857
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025606')[0m
|
6858
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003205633')
|
6859
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003234101')[0m
|
6860
|
+
[1m[35m (2.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004153147')
|
6861
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004164509')[0m
|
6862
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195728')
|
6863
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195809')[0m
|
6864
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009193145')
|
6865
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009201729')[0m
|
6866
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205517')
|
6867
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205545')[0m
|
6868
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018172409')
|
6869
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018174319')[0m
|
6870
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018180207')
|
6871
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6872
|
+
Migrating to CreateTasks (20110901013205)
|
6873
|
+
Migrating to CreateSubtasks (20110901013228)
|
6874
|
+
Migrating to CreateModerations (20110901013618)
|
6875
|
+
Migrating to CreateTaskAlls (20110908025410)
|
6876
|
+
Migrating to AddTaskAllIdToSubtasks (20110908025606)
|
6877
|
+
Migrating to CreatePhotos (20111003205633)
|
6878
|
+
Migrating to CreateTaskPhotos (20111003234101)
|
6879
|
+
Migrating to CreateHookTests (20111004153147)
|
6880
|
+
Migrating to CreatePhotoHolders (20111004164509)
|
6881
|
+
Migrating to CreateHoneTests (20111008195728)
|
6882
|
+
Migrating to CreateHjoinTests (20111008195809)
|
6883
|
+
Migrating to FixJoinTable (20111009193145)
|
6884
|
+
Migrating to AddTitleToHoneTests (20111009201729)
|
6885
|
+
Migrating to CreateHmanythroughTests (20111009205517)
|
6886
|
+
Migrating to CreateHmanythroughJoins (20111009205545)
|
6887
|
+
Migrating to CreateHoneAsTests (20111018172409)
|
6888
|
+
Migrating to CreateHmanyFkTests (20111018174319)
|
6889
|
+
Migrating to CreateHabtmNameTests (20111018180207)
|
6890
|
+
Migrating to CreatePhotoRelateds (20120209045206)
|
6891
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
6892
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "photo_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo_id" integer, "data" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6893
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120209045206')
|
6894
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6895
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6896
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("habtm_name_tests")[0m
|
6897
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("habtm_name_tests_tasks")
|
6898
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hjoin_tests")[0m
|
6899
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hjoin_tests_tasks")
|
6900
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hmany_fk_tests")[0m
|
6901
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hmanythrough_joins")
|
6902
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hmanythrough_tests")[0m
|
6903
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hone_as_tests")
|
6904
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("hone_tests")[0m
|
6905
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("hook_tests")
|
6906
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("moderations")[0m
|
6907
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("photo_holders")
|
6908
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("photo_relateds")[0m
|
6909
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("photos")
|
6910
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("subtasks")[0m
|
6911
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("task_alls")
|
6912
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("task_photos")[0m
|
6913
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tasks")
|
6914
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6915
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6916
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6917
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6918
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6919
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6920
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6921
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6922
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6923
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6924
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6925
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6926
|
+
[1m[36m (1.7ms)[0m [1mCREATE 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) [0m
|
6927
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6928
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "photo_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo_id" integer, "data" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6929
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer)
|
6930
|
+
[1m[36m (1.9ms)[0m [1mCREATE 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) [0m
|
6931
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6932
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6933
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6934
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
6935
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
6936
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6937
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
6938
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120209045206')[0m
|
6939
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
|
6940
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013228')[0m
|
6941
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
|
6942
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025410')[0m
|
6943
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
|
6944
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003205633')[0m
|
6945
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003234101')
|
6946
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004153147')[0m
|
6947
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004164509')
|
6948
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195728')[0m
|
6949
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195809')
|
6950
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009193145')[0m
|
6951
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009201729')
|
6952
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205517')[0m
|
6953
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205545')
|
6954
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018172409')[0m
|
6955
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018174319')
|
6956
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018180207')[0m
|
6957
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6958
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6959
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6960
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
6961
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6962
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
6963
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6964
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6965
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6966
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6967
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
6968
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6969
|
+
[1m[36m (1.7ms)[0m [1mCREATE 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) [0m
|
6970
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6971
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "photo_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo_id" integer, "data" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
6972
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer)
|
6973
|
+
[1m[36m (2.7ms)[0m [1mCREATE 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) [0m
|
6974
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6975
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6976
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
|
6977
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
6978
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
6979
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6980
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
6981
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120209045206')[0m
|
6982
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
|
6983
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013228')[0m
|
6984
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
|
6985
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025410')[0m
|
6986
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
|
6987
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003205633')[0m
|
6988
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003234101')
|
6989
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004153147')[0m
|
6990
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004164509')
|
6991
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195728')[0m
|
6992
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195809')
|
6993
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009193145')[0m
|
6994
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009201729')
|
6995
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205517')[0m
|
6996
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205545')
|
6997
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018172409')[0m
|
6998
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018174319')
|
6999
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018180207')[0m
|
7000
|
+
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from /Users/apple/rails/has_moderated/test/dummy/config/environment.rb:5)
|
7001
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7002
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
7003
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7004
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
7005
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7006
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
7007
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7008
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7009
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7010
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7011
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
7012
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7013
|
+
[1m[36m (1.8ms)[0m [1mCREATE 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) [0m
|
7014
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7015
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "photo_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo_id" integer, "data" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7016
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer)
|
7017
|
+
[1m[36m (1.7ms)[0m [1mCREATE 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) [0m
|
7018
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7019
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
7020
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7021
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7022
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
7023
|
+
[1m[36m (1.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7024
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7025
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120209045206')[0m
|
7026
|
+
[1m[35m (2.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
|
7027
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013228')[0m
|
7028
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
|
7029
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025410')[0m
|
7030
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
|
7031
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003205633')[0m
|
7032
|
+
[1m[35m (2.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003234101')
|
7033
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004153147')[0m
|
7034
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004164509')
|
7035
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195728')[0m
|
7036
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195809')
|
7037
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009193145')[0m
|
7038
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009201729')
|
7039
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205517')[0m
|
7040
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205545')
|
7041
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018172409')[0m
|
7042
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018174319')
|
7043
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018180207')[0m
|
7044
|
+
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from /Users/apple/rails/has_moderated/test/dummy/config/environment.rb:5)
|
7045
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7046
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
7047
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "habtm_name_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7048
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "habtm_name_tests_tasks" ("task_id" integer, "habtm_name_test_id" integer)
|
7049
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "hjoin_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7050
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "hjoin_tests_tasks" ("task_id" integer, "hjoin_test_id" integer)
|
7051
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hmany_fk_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7052
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "hmanythrough_joins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hmanythrough_test_id" integer, "task_id" integer, "exdata" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7053
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "hmanythrough_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7054
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "hone_as_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "testable_id" integer, "testable_type" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7055
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "hone_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(255)) [0m
|
7056
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7057
|
+
[1m[36m (1.5ms)[0m [1mCREATE 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) [0m
|
7058
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7059
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "photo_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo_id" integer, "data" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7060
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer)
|
7061
|
+
[1m[36m (2.6ms)[0m [1mCREATE 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) [0m
|
7062
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7063
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
7064
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
|
7065
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7066
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
7067
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7068
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7069
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120209045206')[0m
|
7070
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
|
7071
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013228')[0m
|
7072
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
|
7073
|
+
[1m[36m (3.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025410')[0m
|
7074
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
|
7075
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003205633')[0m
|
7076
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003234101')
|
7077
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004153147')[0m
|
7078
|
+
[1m[35m (2.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111004164509')
|
7079
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111008195728')[0m
|
7080
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111008195809')
|
7081
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009193145')[0m
|
7082
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009201729')
|
7083
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111009205517')[0m
|
7084
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111009205545')
|
7085
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018172409')[0m
|
7086
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111018174319')
|
7087
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111018180207')[0m
|