refinerycms-copywriting 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/refinery/copywriting/copywriting_helper.rb +19 -0
- data/lib/refinery/copywriting/engine.rb +1 -2
- data/lib/refinery/copywriting.rb +0 -4
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/sitemap/index.xml.builder +25 -0
- data/spec/dummy/config/application.rb +62 -0
- data/spec/dummy/config/boot.rb +6 -0
- data/spec/dummy/config/database.yml +18 -0
- data/spec/dummy/config/database.yml.mysql +20 -0
- data/spec/dummy/config/database.yml.postgresql +58 -0
- data/spec/dummy/config/database.yml.sqlite3 +18 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +71 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +229 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/refinery/core.rb +48 -0
- data/spec/dummy/config/initializers/refinery/images.rb +41 -0
- data/spec/dummy/config/initializers/refinery/pages.rb +44 -0
- data/spec/dummy/config/initializers/refinery/resources.rb +26 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20120416115049_create_copywritings.refinery_copywriting.rb +24 -0
- data/spec/dummy/db/migrate/20120416115050_create_copywriting_translation_table.refinery_copywriting.rb +42 -0
- data/spec/dummy/db/migrate/20120416115051_add_phrase_type.refinery_copywriting.rb +12 -0
- data/spec/dummy/db/migrate/20120416115052_add_refinery_prefix_to_tables.refinery_copywriting.rb +14 -0
- data/spec/dummy/db/migrate/20120416115053_add_phrase_last_access_at.refinery_copywriting.rb +12 -0
- data/spec/dummy/db/migrate/20120416115054_create_refinerycms_authentication_schema.refinery_authentication.rb +44 -0
- data/spec/dummy/db/migrate/20120416115055_create_refinerycms_images_schema.refinery_images.rb +16 -0
- data/spec/dummy/db/migrate/20120416115056_create_refinerycms_resources_schema.refinery_resources.rb +14 -0
- data/spec/dummy/db/migrate/20120416115057_create_refinerycms_pages_schema.refinery_pages.rb +59 -0
- data/spec/dummy/db/migrate/20120416115058_create_seo_meta.seo_meta_engine.rb +24 -0
- data/spec/dummy/db/schema.rb +177 -0
- data/spec/dummy/db/seeds.rb +10 -0
- data/spec/dummy/dummy_dev +0 -0
- data/spec/dummy/dummy_test +0 -0
- data/spec/dummy/log/development.log +389 -0
- data/spec/dummy/log/test.log +1894 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/index/development/refinery/page/102_111_117.ind +2 -0
- data/spec/dummy/tmp/index/development/refinery/page/104_111_109.ind +0 -0
- data/spec/dummy/tmp/index/development/refinery/page/110_111_116.ind +1 -0
- data/spec/dummy/tmp/index/development/refinery/page/112_97_103.ind +0 -0
- data/spec/dummy/tmp/index/development/refinery/page/97_98_111.ind +0 -0
- data/spec/dummy/tmp/index/development/refinery/page/size +1 -0
- data/spec/dummy/tmp/index/development/refinery/page/version +1 -0
- data/spec/dummy/tmp/index/test/refinery/page/112_97_103.ind +1 -0
- data/spec/dummy/tmp/index/test/refinery/page/116_101_115.ind +0 -0
- data/spec/dummy/tmp/index/test/refinery/page/size +1 -0
- data/spec/dummy/tmp/index/test/refinery/page/version +1 -0
- data/spec/helpers/copywriting_helper_spec.rb +8 -8
- metadata +65 -3
- data/app/helpers/copywriting_helper.rb +0 -16
- data/lib/tasks/rspec.rake +0 -4
@@ -0,0 +1,389 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateCopywritings (20120416115049)
|
7
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "copywriting_phrases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "default" text, "value" text, "scope" varchar(255), "page_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
9
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("copywriting_phrases")
|
10
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_copywriting_phrases_on_name_and_scope" ON "copywriting_phrases" ("name", "scope")[0m
|
11
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115049')
|
12
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
13
|
+
Migrating to CreateCopywritingTranslationTable (20120416115050)
|
14
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
16
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
17
|
+
[1m[35mRefinery::Copywriting::Phrase Load (0.1ms)[0m SELECT "copywriting_phrases".* FROM "copywriting_phrases" WHERE ("copywriting_phrases"."id" >= 0) ORDER BY "copywriting_phrases"."id" ASC LIMIT 1000
|
18
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("copywriting_phrase_translations")[0m
|
19
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "copywriting_phrase_translations" ("copywriting_phrase_id")
|
20
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("copywriting_phrase_translations")[0m
|
21
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')
|
22
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_copywriting_phrase_translations_on_locale" ON "copywriting_phrase_translations" ("locale")[0m
|
23
|
+
[1m[35m (0.5ms)[0m CREATE TEMPORARY TABLE "altered_copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
24
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("copywriting_phrase_translations")[0m
|
25
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_copywriting_phrase_translations_on_locale')
|
26
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')[0m
|
27
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_copywriting_phrase_translations")
|
28
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_copywriting_phrase_translations_on_locale" ON "altered_copywriting_phrase_translations" ("locale")[0m
|
29
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_copywriting_phrase_translations")
|
30
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_copywriting_phrase_translations_on_locale')[0m
|
31
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "altered_copywriting_phrase_translations" ("refinery_copywriting_phrase_id")
|
32
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "copywriting_phrase_translations"[0m
|
33
|
+
[1m[35m (0.4ms)[0m DROP TABLE "copywriting_phrase_translations"
|
34
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_copywriting_phrase_translations")
|
36
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_c8fbec01a288d0aef8ba987126084c4d06953304')[0m
|
37
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_copywriting_phrase_translations_on_locale')
|
38
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("copywriting_phrase_translations")[0m
|
39
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "copywriting_phrase_translations" ("refinery_copywriting_phrase_id")
|
40
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("copywriting_phrase_translations")[0m
|
41
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')
|
42
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_copywriting_phrase_translations_on_locale" ON "copywriting_phrase_translations" ("locale")[0m
|
43
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_copywriting_phrase_translations"
|
44
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "altered_copywriting_phrase_translations"[0m
|
45
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115050')
|
46
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
47
|
+
Migrating to AddPhraseType (20120416115051)
|
48
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "copywriting_phrases" ADD "phrase_type" varchar(255)[0m
|
50
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115051')
|
51
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
52
|
+
Migrating to AddRefineryPrefixToTables (20120416115052)
|
53
|
+
[1m[35m (0.0ms)[0m begin transaction
|
54
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "copywriting_phrases" RENAME TO "refinery_copywriting_phrases"[0m
|
55
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "copywriting_phrase_translations" RENAME TO "refinery_copywriting_phrase_translations"
|
56
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120416115052')[0m
|
57
|
+
[1m[35m (1.3ms)[0m commit transaction
|
58
|
+
Migrating to AddPhraseLastAccessAt (20120416115053)
|
59
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "refinery_copywriting_phrases" ADD "last_access_at" date
|
61
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120416115053')[0m
|
62
|
+
[1m[35m (1.1ms)[0m commit transaction
|
63
|
+
Migrating to CreateRefinerycmsAuthenticationSchema (20120416115054)
|
64
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
65
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer)
|
66
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_roles_users")[0m
|
67
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
|
68
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_roles_users")[0m
|
69
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_roles_users_on_role_id_and_user_id')
|
70
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")[0m
|
71
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
72
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer) [0m
|
73
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_user_plugins")
|
74
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")[0m
|
75
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_user_plugins")
|
76
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_user_plugins_on_name')[0m
|
77
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
|
78
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
79
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_users")
|
80
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")[0m
|
81
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115054')
|
82
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
83
|
+
Migrating to CreateRefinerycmsImagesSchema (20120416115055)
|
84
|
+
[1m[35m (0.0ms)[0m begin transaction
|
85
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
86
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115055')
|
87
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
88
|
+
Migrating to CreateRefinerycmsResourcesSchema (20120416115056)
|
89
|
+
[1m[35m (0.0ms)[0m begin transaction
|
90
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
91
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115056')
|
92
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
93
|
+
Migrating to CreateRefinerycmsPagesSchema (20120416115057)
|
94
|
+
[1m[35m (0.0ms)[0m begin transaction
|
95
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
96
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_parts")
|
97
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")[0m
|
98
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_parts")
|
99
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_page_parts_on_id')[0m
|
100
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
|
101
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
102
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_pages")
|
103
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")[0m
|
104
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_pages")
|
105
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_depth')[0m
|
106
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
|
107
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_pages")[0m
|
108
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_id')
|
109
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_depth')[0m
|
110
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
|
111
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_pages")[0m
|
112
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_lft')
|
113
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_id')[0m
|
114
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_depth')
|
115
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")[0m
|
116
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_pages")
|
117
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_parent_id')[0m
|
118
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_lft')
|
119
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_id')[0m
|
120
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_depth')
|
121
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")[0m
|
122
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
123
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_page_part_translations")[0m
|
124
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
|
125
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_page_part_translations")[0m
|
126
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_f9716c4215584edbca2557e32706a5ae084a15ef')
|
127
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")[0m
|
128
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
129
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_page_translations")[0m
|
130
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
|
131
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_page_translations")[0m
|
132
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_d079468f88bff1c6ea81573a0d019ba8bf5c2902')
|
133
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")[0m
|
134
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120416115057')
|
135
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
136
|
+
Migrating to CreateSeoMeta (20120416115058)
|
137
|
+
[1m[35m (0.0ms)[0m begin transaction
|
138
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
139
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("seo_meta")
|
140
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")[0m
|
141
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("seo_meta")
|
142
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_seo_meta_on_id')[0m
|
143
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
|
144
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120416115058')[0m
|
145
|
+
[1m[35m (1.3ms)[0m commit transaction
|
146
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
147
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
148
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_copywriting_phrase_translations")[0m
|
149
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_copywriting_phrase_translations_on_locale')
|
150
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')[0m
|
151
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_copywriting_phrases")
|
152
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_copywriting_phrases_on_name_and_scope')[0m
|
153
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_images")
|
154
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_page_part_translations")[0m
|
155
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_page_part_translations_on_locale')
|
156
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_f9716c4215584edbca2557e32706a5ae084a15ef')[0m
|
157
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_parts")
|
158
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_page_parts_on_refinery_page_id')[0m
|
159
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_page_parts_on_id')
|
160
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_page_translations")[0m
|
161
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_page_translations_on_locale')
|
162
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_d079468f88bff1c6ea81573a0d019ba8bf5c2902')[0m
|
163
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("refinery_pages")
|
164
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_rgt')[0m
|
165
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_parent_id')
|
166
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_lft')[0m
|
167
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_id')
|
168
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_depth')[0m
|
169
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_resources")
|
170
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_roles")[0m
|
171
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_roles_users")
|
172
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_roles_users_on_user_id_and_role_id')[0m
|
173
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_roles_users_on_role_id_and_user_id')
|
174
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_user_plugins")[0m
|
175
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_user_plugins_on_user_id_and_name')
|
176
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_user_plugins_on_name')[0m
|
177
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_users")
|
178
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_users_on_id')[0m
|
179
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("seo_meta")
|
180
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_seo_meta_on_seo_meta_id_and_seo_meta_type')[0m
|
181
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_seo_meta_on_id')
|
182
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
183
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "refinery_pages" WHERE "refinery_pages"."menu_match" = '^/$'
|
184
|
+
[1m[36mRefinery::Page::Translation Load (0.2ms)[0m [1mSELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1[0m
|
185
|
+
[1m[35m (0.0ms)[0m begin transaction
|
186
|
+
[1m[36mRefinery::Page Load (0.3ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'home' OR "slug" LIKE 'home--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1[0m
|
187
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:01 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 16 Apr 2012 11:51:01 UTC +00:00]]
|
188
|
+
[1m[36mSeoMetum Load (0.1ms)[0m [1mSELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1[0m
|
189
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 1], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
190
|
+
[1m[36mRefinery::Page Load (0.1ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1[0m
|
191
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", "/"], ["menu_match", "^/$"], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "home"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["view_template", nil]]
|
192
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2012-04-16 11:51:02.042631' WHERE "refinery_page_translations"."id" = 1[0m
|
193
|
+
[1m[35mRefinery::Page::Translation Load (0.1ms)[0m SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
|
194
|
+
[1m[36mSeoMetum Load (0.1ms)[0m [1mSELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1[0m
|
195
|
+
[1m[35m (0.1ms)[0m UPDATE "refinery_page_translations" SET "title" = 'Home', "slug" = 'home', "updated_at" = '2012-04-16 11:51:02.045927' WHERE "refinery_page_translations"."id" = 1
|
196
|
+
[1m[36mRefinery::Page::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
197
|
+
[1m[35mRefinery::Page Load (0.2ms)[0m SELECT "refinery_pages".* FROM "refinery_pages" WHERE ("refinery_pages"."id" >= 0) ORDER BY "refinery_pages"."id" ASC LIMIT 500
|
198
|
+
[1m[36mRefinery::Page::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1[0m
|
199
|
+
[1m[35mSeoMetum Load (0.1ms)[0m SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
|
200
|
+
[1m[36mRefinery::PagePart Load (0.1ms)[0m [1mSELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC[0m
|
201
|
+
[1m[35mRefinery::PagePart Load (0.2ms)[0m SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
|
202
|
+
[1m[36mRefinery::Page Load (0.1ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1[0m [["id", 1]]
|
203
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 1 ORDER BY "lft")
|
204
|
+
[1m[36mRefinery::Page Load (0.0ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1[0m [["id", 1]]
|
205
|
+
[1m[35mRefinery::PagePart Load (0.1ms)[0m SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
|
206
|
+
[1m[36mRefinery::Page Load (0.2ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft[0m
|
207
|
+
[1m[35m (1.3ms)[0m commit transaction
|
208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
209
|
+
[1m[35mRefinery::PagePart::Translation Load (0.1ms)[0m SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
|
210
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "<p>Welcome to our site. This is just a place holder page while we gather our content.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 0], ["refinery_page_id", 1], ["title", "Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
211
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
212
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 1 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1[0m
|
213
|
+
[1m[35m (0.3ms)[0m UPDATE "refinery_page_part_translations" SET "body" = '<p>Welcome to our site. This is just a place holder page while we gather our content.</p>', "updated_at" = '2012-04-16 11:51:02.096111' WHERE "refinery_page_part_translations"."id" = 1
|
214
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
215
|
+
[1m[35m (1.0ms)[0m commit transaction
|
216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
+
[1m[35mRefinery::PagePart::Translation Load (0.2ms)[0m SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
|
218
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "<p>This is another block of content over here.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 1], ["refinery_page_id", 1], ["title", "Side Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
219
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 2], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
220
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 2 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1[0m
|
221
|
+
[1m[35m (0.3ms)[0m UPDATE "refinery_page_part_translations" SET "body" = '<p>This is another block of content over here.</p>', "updated_at" = '2012-04-16 11:51:02.110640' WHERE "refinery_page_part_translations"."id" = 2
|
222
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
223
|
+
[1m[35m (1.2ms)[0m commit transaction
|
224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35mRefinery::Page::Translation Load (0.2ms)[0m SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
|
226
|
+
[1m[36mRefinery::Page Load (0.2ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 AND ("slug" = 'page-not-found' OR "slug" LIKE 'page-not-found--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1[0m
|
227
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
228
|
+
[1m[36mSeoMetum Load (0.1ms)[0m [1mSELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1[0m
|
229
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 2], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
230
|
+
[1m[36mRefinery::Page Load (0.1ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1[0m
|
231
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 3], ["link_url", nil], ["menu_match", "^/404$"], ["parent_id", 1], ["path", nil], ["rgt", 4], ["show_in_menu", false], ["skip_to_first_child", false], ["slug", "page-not-found"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["view_template", nil]]
|
232
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "refinery_page_translations" SET "refinery_page_id" = 2, "updated_at" = '2012-04-16 11:51:02.122887' WHERE "refinery_page_translations"."id" = 2[0m
|
233
|
+
[1m[35mRefinery::Page::Translation Load (0.1ms)[0m SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
|
234
|
+
[1m[36mSeoMetum Load (0.1ms)[0m [1mSELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1[0m
|
235
|
+
[1m[35m (0.1ms)[0m UPDATE "refinery_page_translations" SET "title" = 'Page not found', "slug" = 'page-not-found', "updated_at" = '2012-04-16 11:51:02.124915' WHERE "refinery_page_translations"."id" = 2
|
236
|
+
[1m[36mRefinery::Page::Translation Load (0.0ms)[0m [1mSELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
237
|
+
[1m[35mRefinery::PagePart Load (0.1ms)[0m SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
|
238
|
+
[1m[36mRefinery::Page Load (0.2ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? ORDER BY "lft" LIMIT 1[0m [["id", 1]]
|
239
|
+
[1m[35mRefinery::Page Load (0.1ms)[0m SELECT "lft", "rgt", "parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
|
240
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "refinery_pages" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" ORDER BY "lft")[0m
|
241
|
+
[1m[35mRefinery::Page Load (0.0ms)[0m SELECT "lft", "rgt", "parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
|
242
|
+
[1m[36mRefinery::Page Load (0.0ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1[0m [["id", 2]]
|
243
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
|
244
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "refinery_pages" SET "depth" = 1 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 2 ORDER BY "lft")[0m
|
245
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
|
246
|
+
[1m[36mRefinery::Page Load (0.0ms)[0m [1mSELECT "lft", "rgt", "parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1[0m [["id", 2]]
|
247
|
+
[1m[35mRefinery::Page Load (0.0ms)[0m SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
|
248
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)[0m
|
249
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "refinery_pages" SET "depth" = 1 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 2 ORDER BY "lft")
|
250
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)[0m
|
251
|
+
[1m[35mRefinery::Page Load (0.0ms)[0m SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
|
252
|
+
[1m[36mRefinery::PagePart Load (0.1ms)[0m [1mSELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC[0m
|
253
|
+
[1m[35mRefinery::Page Load (0.1ms)[0m SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 2 ORDER BY lft
|
254
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
256
|
+
[1m[36mRefinery::PagePart::Translation Load (0.2ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1[0m
|
257
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 0], ["refinery_page_id", 2], ["title", "Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
258
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 3], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
259
|
+
[1m[35mRefinery::PagePart::Translation Load (0.1ms)[0m SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 3 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
|
260
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "refinery_page_part_translations" SET "body" = '<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href=''/''>Return to the home page</a></p>', "updated_at" = '2012-04-16 11:51:02.150228' WHERE "refinery_page_part_translations"."id" = 3[0m
|
261
|
+
[1m[35mRefinery::PagePart::Translation Load (0.1ms)[0m SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 3]]
|
262
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
263
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'About'
|
264
|
+
[1m[36mRefinery::Page::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1[0m
|
265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
266
|
+
[1m[36mRefinery::Page Load (0.2ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'about' OR "slug" LIKE 'about--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1[0m
|
267
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
268
|
+
[1m[36mSeoMetum Load (0.1ms)[0m [1mSELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1[0m
|
269
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 3], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
270
|
+
[1m[36mRefinery::Page Load (0.1ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1[0m
|
271
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 5], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 6], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "about"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["view_template", nil]]
|
272
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "refinery_page_translations" SET "refinery_page_id" = 3, "updated_at" = '2012-04-16 11:51:02.210783' WHERE "refinery_page_translations"."id" = 3[0m
|
273
|
+
[1m[35mRefinery::Page::Translation Load (0.1ms)[0m SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
|
274
|
+
[1m[36mSeoMetum Load (0.1ms)[0m [1mSELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1[0m
|
275
|
+
[1m[35m (0.1ms)[0m UPDATE "refinery_page_translations" SET "title" = 'About', "slug" = 'about', "updated_at" = '2012-04-16 11:51:02.213265' WHERE "refinery_page_translations"."id" = 3
|
276
|
+
[1m[36mRefinery::Page::Translation Load (0.0ms)[0m [1mSELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1[0m [["id", 3]]
|
277
|
+
[1m[35mRefinery::PagePart Load (0.1ms)[0m SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
|
278
|
+
[1m[36mRefinery::Page Load (0.0ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1[0m [["id", 3]]
|
279
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 3 ORDER BY "lft")
|
280
|
+
[1m[36mRefinery::Page Load (0.0ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1[0m [["id", 3]]
|
281
|
+
[1m[35mRefinery::PagePart Load (0.1ms)[0m SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
|
282
|
+
[1m[36mRefinery::Page Load (0.1ms)[0m [1mSELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 3 ORDER BY lft[0m
|
283
|
+
[1m[35m (1.8ms)[0m commit transaction
|
284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
285
|
+
[1m[35mRefinery::PagePart::Translation Load (0.3ms)[0m SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
|
286
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.\n\nInteger interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 0], ["refinery_page_id", 3], ["title", "Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
287
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 4], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
288
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 4 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1[0m
|
289
|
+
[1m[35m (0.3ms)[0m UPDATE "refinery_page_part_translations" SET "body" = '<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.
|
290
|
+
|
291
|
+
Integer interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>', "updated_at" = '2012-04-16 11:51:02.231743' WHERE "refinery_page_part_translations"."id" = 4
|
292
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1[0m [["id", 4]]
|
293
|
+
[1m[35m (1.0ms)[0m commit transaction
|
294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
295
|
+
[1m[35mRefinery::PagePart::Translation Load (0.1ms)[0m SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
|
296
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 1], ["refinery_page_id", 3], ["title", "Side Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
297
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 5], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
|
298
|
+
[1m[36mRefinery::PagePart::Translation Load (0.1ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 5 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1[0m
|
299
|
+
[1m[35m (0.2ms)[0m UPDATE "refinery_page_part_translations" SET "body" = '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>', "updated_at" = '2012-04-16 11:51:02.239877' WHERE "refinery_page_part_translations"."id" = 5
|
300
|
+
[1m[36mRefinery::PagePart::Translation Load (0.0ms)[0m [1mSELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1[0m [["id", 5]]
|
301
|
+
[1m[35m (1.3ms)[0m commit transaction
|
302
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
303
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
304
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "refinery_copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
305
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_copywriting_phrase_translations")
|
306
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_copywriting_phrase_translations_on_locale" ON "refinery_copywriting_phrase_translations" ("locale")[0m
|
307
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_copywriting_phrase_translations")
|
308
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_copywriting_phrase_translations_on_locale')[0m
|
309
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "refinery_copywriting_phrase_translations" ("refinery_copywriting_phrase_id")
|
310
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "refinery_copywriting_phrases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "default" text, "value" text, "scope" varchar(255), "page_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "phrase_type" varchar(255), "last_access_at" date) [0m
|
311
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_copywriting_phrases")
|
312
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_copywriting_phrases_on_name_and_scope" ON "refinery_copywriting_phrases" ("name", "scope")[0m
|
313
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
314
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
315
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_part_translations")
|
316
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")[0m
|
317
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("refinery_page_part_translations")
|
318
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_page_part_translations_on_locale')[0m
|
319
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
|
320
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
321
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_parts")
|
322
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")[0m
|
323
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_parts")
|
324
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_page_parts_on_id')[0m
|
325
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
|
326
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
327
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_page_translations")
|
328
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")[0m
|
329
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("refinery_page_translations")
|
330
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_page_translations_on_locale')[0m
|
331
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
|
332
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
333
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_pages")
|
334
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")[0m
|
335
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_pages")
|
336
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_depth')[0m
|
337
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
|
338
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("refinery_pages")[0m
|
339
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_refinery_pages_on_id')
|
340
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_depth')[0m
|
341
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
|
342
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_pages")[0m
|
343
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_lft')
|
344
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_id')[0m
|
345
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_depth')
|
346
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")[0m
|
347
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("refinery_pages")
|
348
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_parent_id')[0m
|
349
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_lft')
|
350
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_refinery_pages_on_id')[0m
|
351
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_pages_on_depth')
|
352
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")[0m
|
353
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
354
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
355
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer)
|
356
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_roles_users")[0m
|
357
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
|
358
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_roles_users")[0m
|
359
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_roles_users_on_role_id_and_user_id')
|
360
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")[0m
|
361
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer)
|
362
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_user_plugins")[0m
|
363
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
|
364
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_user_plugins")[0m
|
365
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_refinery_user_plugins_on_name')
|
366
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")[0m
|
367
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
368
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("refinery_users")[0m
|
369
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
|
370
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
371
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("seo_meta")
|
372
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")[0m
|
373
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("seo_meta")
|
374
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_seo_meta_on_id')[0m
|
375
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
|
376
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
377
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
378
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
379
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
380
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120416115058')[0m
|
381
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120416115049')
|
382
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120416115050')[0m
|
383
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120416115051')
|
384
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120416115052')[0m
|
385
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120416115053')
|
386
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120416115054')[0m
|
387
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120416115055')
|
388
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120416115056')[0m
|
389
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120416115057')
|