(2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.5ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (1.2ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303152945"]]  (1.0ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.9ms) commit transaction Migrating to AddArticleIdToSections (20140306134124)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (0.8ms) commit transaction Migrating to RemoveKindFromSections (20140306134616)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.8ms) DROP TABLE "knowledge_base_sections"  (0.2ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.5ms) DROP TABLE "aknowledge_base_sections" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134616"]]  (1.1ms) commit transaction Migrating to PolymorphizeSections (20140306162143)  (0.1ms) begin transaction  (0.3ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.3ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "aknowledge_base_sections"  (0.2ms) DROP TABLE "aknowledge_base_sections"  (0.4ms) ALTER TABLE "knowledge_base_sections" ADD "container_id" integer  (0.2ms) ALTER TABLE "knowledge_base_sections" ADD "container_type" varchar(255)  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.2ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306162143"]]  (1.0ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesVideos (20140306181906)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306181906"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleries (20140306194339)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194339"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleryImages (20140306194600)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194600"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLists (20140306200631)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306200631"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesListItems (20140306210259)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306210259"]]  (1.0ms) commit transaction Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.2ms) CREATE INDEX "tindex_aknowledge_base_articles_on_category_id" ON "aknowledge_base_articles" ("category_id")  (0.1ms) SELECT * FROM "knowledge_base_articles"  (0.4ms) DROP TABLE "knowledge_base_articles"  (0.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT * FROM "aknowledge_base_articles"  (0.1ms) DROP TABLE "aknowledge_base_articles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307080616"]]  (1.3ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLinks (20140307092627)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307092627"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLinksLinks (20140307092719)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307092719"]]  (1.0ms) commit transaction Migrating to DefaultPositionFields (20140318125210)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) CREATE UNIQUE INDEX "tindex_aknowledge_base_categories_on_slug" ON "aknowledge_base_categories" ("slug")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_categories_on_slug' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_categories_on_category_id" ON "aknowledge_base_categories" ("category_id")  (0.1ms) SELECT * FROM "knowledge_base_categories"  (0.3ms) DROP TABLE "knowledge_base_categories"  (0.3ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer DEFAULT 0, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_categories_on_slug' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.1ms) SELECT * FROM "aknowledge_base_categories"  (0.2ms) DROP TABLE "aknowledge_base_categories"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_knowledge_base_c_a_association_on_article_id" ON "aknowledge_base_category_article_associations" ("article_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_knowledge_base_c_a_association_on_category_id" ON "aknowledge_base_category_article_associations" ("category_id")  (0.1ms) SELECT * FROM "knowledge_base_category_article_associations"  (0.2ms) DROP TABLE "knowledge_base_category_article_associations"  (0.2ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.0ms) SELECT * FROM "aknowledge_base_category_article_associations"  (0.1ms) DROP TABLE "aknowledge_base_category_article_associations"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_container" ON "aknowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_container' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.2ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_container' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT * FROM "aknowledge_base_sections"  (0.1ms) DROP TABLE "aknowledge_base_sections"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sectionables_gallery_images_on_gallery_id" ON "aknowledge_base_sectionables_gallery_images" ("gallery_id")  (0.0ms) SELECT * FROM "knowledge_base_sectionables_gallery_images"  (0.2ms) DROP TABLE "knowledge_base_sectionables_gallery_images"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer DEFAULT 0, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.1ms) SELECT * FROM "aknowledge_base_sectionables_gallery_images"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_gallery_images"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT * FROM "knowledge_base_sectionables_links_links"  (0.2ms) DROP TABLE "knowledge_base_sectionables_links_links"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer DEFAULT 0, "links_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) SELECT * FROM "aknowledge_base_sectionables_links_links"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_links_links"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sectionables_list_items_on_list_id" ON "aknowledge_base_sectionables_list_items" ("list_id")  (0.0ms) SELECT * FROM "knowledge_base_sectionables_list_items"  (0.2ms) DROP TABLE "knowledge_base_sectionables_list_items"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer DEFAULT 0, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.0ms) SELECT * FROM "aknowledge_base_sectionables_list_items"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_list_items" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140318125210"]]  (2.1ms) commit transaction Migrating to ChangeKnowledgeBaseGalleryDescriptionToText (20140318210722)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) SELECT * FROM "knowledge_base_sectionables_galleries"  (0.3ms) DROP TABLE "knowledge_base_sectionables_galleries"  (0.4ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT * FROM "aknowledge_base_sectionables_galleries"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_galleries" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140318210722"]]  (1.1ms) commit transaction Migrating to AddImageToTexts (20140320125825)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "knowledge_base_sectionables_texts" ADD "image" varchar(255) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140320125825"]]  (0.8ms) commit transaction Migrating to AddImageToSectionablesLists (20140325083548)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_lists" ADD "image" varchar(255) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140325083548"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesAttachments (20140404234850)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "file" varchar(255))  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140404234850"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesAttachmentLists (20140410184906)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_attachment_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410184906"]]  (0.9ms) commit transaction Migrating to AddAttachmentListReferenceToKnowledgeBaseSectionablesAttachments (20140410185528)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_attachments" ADD "attachment_list_id" integer  (0.2ms) CREATE INDEX "index_knowledge_base_attachments_on_attachment_list_id" ON "knowledge_base_sectionables_attachments" ("attachment_list_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410185528"]]  (0.9ms) commit transaction Migrating to MigrateAttachmentsOverToLists (20140410191611)  (0.1ms) begin transaction KnowledgeBase::Sectionables::Attachment Load (0.2ms) SELECT "knowledge_base_attachments".* FROM "knowledge_base_attachments" SQLite3::SQLException: no such table: knowledge_base_attachments: SELECT "knowledge_base_attachments".* FROM "knowledge_base_attachments" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410191611"]]  (0.8ms) commit transaction Migrating to RenameAttachmentListsToAttachmentsLists (20140410203342)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_attachment_lists" RENAME TO "knowledge_base_sectionables_attachments_lists" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410203342"]]  (0.8ms) commit transaction Migrating to RenameAttachmentsToAttachmentsAttachments (20140410205056)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_attachments" RENAME TO "knowledge_base_sectionables_attachments_attachments"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_attachments_on_attachment_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_attachments_on_attachment_list_id' AND type='index'  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410205056"]]  (0.9ms) commit transaction Migrating to RenameLinksToLinksLists (20140410224403)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_links" RENAME TO "knowledge_base_sectionables_links_lists" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410224403"]]  (0.9ms) commit transaction Migrating to FixSectionableTypesForAttachments (20140410231048)  (0.1ms) begin transaction SQL (0.1ms) UPDATE "knowledge_base_sections" SET "sectionable_type" = 'KnowledgeBase::Sectionables::Attachments::List' WHERE "knowledge_base_sections"."sectionable_type" = 'KnowledgeBase::Sectionables::AttachmentList' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410231048"]]  (0.9ms) commit transaction Migrating to FixSectionableTypesForLinks (20140410231433)  (0.1ms) begin transaction SQL (0.1ms) UPDATE "knowledge_base_sections" SET "sectionable_type" = 'KnowledgeBase::Sectionables::Links::List' WHERE "knowledge_base_sections"."sectionable_type" = 'KnowledgeBase::Sectionables::Links' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140410231433"]]  (0.8ms) commit transaction Migrating to AddDescriptionToKnowledgeBaseAttachmentsAttachment (20140430112603)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_attachments_attachments" ADD "description" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140430112603"]]  (0.9ms) commit transaction Migrating to AddDescriptionToKnowledgeBaseLinksLink (20140430112633)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_links_links" ADD "description" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140430112633"]]  (0.9ms) commit transaction Migrating to AddCustomStyleToKnowledgeBaseSectionables (20140820114750)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_attachments_attachments" ADD "custom_style" varchar(255)  (0.2ms) ALTER TABLE "knowledge_base_sectionables_attachments_lists" ADD "custom_style" varchar(255)  (0.3ms) ALTER TABLE "knowledge_base_sectionables_galleries" ADD "custom_style" varchar(255)  (0.3ms) ALTER TABLE "knowledge_base_sectionables_gallery_images" ADD "custom_style" varchar(255)  (0.3ms) ALTER TABLE "knowledge_base_sectionables_images" ADD "custom_style" varchar(255)  (0.3ms) ALTER TABLE "knowledge_base_sectionables_links_links" ADD "custom_style" varchar(255)  (0.3ms) ALTER TABLE "knowledge_base_sectionables_links_lists" ADD "custom_style" varchar(255)  (0.3ms) ALTER TABLE "knowledge_base_sectionables_list_items" ADD "custom_style" varchar(255)  (0.2ms) ALTER TABLE "knowledge_base_sectionables_lists" ADD "custom_style" varchar(255)  (0.2ms) ALTER TABLE "knowledge_base_sectionables_texts" ADD "custom_style" varchar(255)  (0.2ms) ALTER TABLE "knowledge_base_sectionables_videos" ADD "custom_style" varchar(255) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140820114750"]]  (0.9ms) commit transaction Migrating to RemoveCustomStyleFromNonSectionables (20140821081854)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_attachments_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "file" varchar(255), "attachment_list_id" integer, "description" text, "custom_style" varchar(255))   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_attachments_on_attachment_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_attachments_on_attachment_list_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_knowledge_base_attachments_on_attachment_list_id" ON "aknowledge_base_sectionables_attachments_attachments" ("attachment_list_id")  (0.0ms) SELECT * FROM "knowledge_base_sectionables_attachments_attachments"  (0.3ms) DROP TABLE "knowledge_base_sectionables_attachments_attachments"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_attachments_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "file" varchar(255), "attachment_list_id" integer, "description" text)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_attachments_on_attachment_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_attachments_on_attachment_list_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_attachments_on_attachment_list_id" ON "knowledge_base_sectionables_attachments_attachments" ("attachment_list_id")  (0.0ms) SELECT * FROM "aknowledge_base_sectionables_attachments_attachments"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_attachments_attachments"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer DEFAULT 0, "gallery_id" integer, "created_at" datetime, "updated_at" datetime, "custom_style" varchar(255))   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sectionables_gallery_images_on_gallery_id" ON "aknowledge_base_sectionables_gallery_images" ("gallery_id")  (0.1ms) SELECT * FROM "knowledge_base_sectionables_gallery_images"  (0.4ms) DROP TABLE "knowledge_base_sectionables_gallery_images"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer DEFAULT 0, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'   (0.2ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.1ms) SELECT * FROM "aknowledge_base_sectionables_gallery_images"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_gallery_images"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer DEFAULT 0, "links_id" integer, "created_at" datetime, "updated_at" datetime, "description" text, "custom_style" varchar(255))   (0.1ms) SELECT * FROM "knowledge_base_sectionables_links_links"  (0.2ms) DROP TABLE "knowledge_base_sectionables_links_links"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer DEFAULT 0, "links_id" integer, "created_at" datetime, "updated_at" datetime, "description" text)  (0.0ms) SELECT * FROM "aknowledge_base_sectionables_links_links"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_links_links"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer DEFAULT 0, "list_id" integer, "created_at" datetime, "updated_at" datetime, "custom_style" varchar(255))   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'  (0.2ms) CREATE INDEX "tindex_aknowledge_base_sectionables_list_items_on_list_id" ON "aknowledge_base_sectionables_list_items" ("list_id")  (0.1ms) SELECT * FROM "knowledge_base_sectionables_list_items"  (0.2ms) DROP TABLE "knowledge_base_sectionables_list_items"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer DEFAULT 0, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.1ms) SELECT * FROM "aknowledge_base_sectionables_list_items"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_list_items" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140821081854"]]  (1.4ms) commit transaction Migrating to RenameCustomStyleToStyle (20140821085102)  (0.1ms) begin transaction  (0.3ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_attachments_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "style" varchar(255))  (0.1ms) SELECT * FROM "knowledge_base_sectionables_attachments_lists"  (0.3ms) DROP TABLE "knowledge_base_sectionables_attachments_lists"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_attachments_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (0.1ms) SELECT * FROM "aknowledge_base_sectionables_attachments_lists"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_attachments_lists"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime, "style" varchar(255))  (0.1ms) SELECT * FROM "knowledge_base_sectionables_galleries"  (0.3ms) DROP TABLE "knowledge_base_sectionables_galleries"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (0.1ms) SELECT * FROM "aknowledge_base_sectionables_galleries"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_galleries"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime, "style" varchar(255))  (0.1ms) SELECT * FROM "knowledge_base_sectionables_images"  (0.2ms) DROP TABLE "knowledge_base_sectionables_images"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (0.0ms) SELECT * FROM "aknowledge_base_sectionables_images"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_images"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_links_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "style" varchar(255))  (0.0ms) SELECT * FROM "knowledge_base_sectionables_links_lists"  (0.1ms) DROP TABLE "knowledge_base_sectionables_links_lists"  (0.2ms) CREATE TABLE "knowledge_base_sectionables_links_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (0.1ms) SELECT * FROM "aknowledge_base_sectionables_links_lists"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_links_lists"  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime, "image" varchar(255), "style" varchar(255))  (0.1ms) SELECT * FROM "knowledge_base_sectionables_lists"  (0.2ms) DROP TABLE "knowledge_base_sectionables_lists"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime, "image" varchar(255), "style" varchar(255))   (0.0ms) SELECT * FROM "aknowledge_base_sectionables_lists"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_lists"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime, "image" varchar(255), "style" varchar(255))  (0.1ms) SELECT * FROM "knowledge_base_sectionables_texts"  (0.1ms) DROP TABLE "knowledge_base_sectionables_texts"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime, "image" varchar(255), "style" varchar(255))   (0.0ms) SELECT * FROM "aknowledge_base_sectionables_texts"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_texts"  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime, "style" varchar(255))  (0.1ms) SELECT * FROM "knowledge_base_sectionables_videos"  (0.1ms) DROP TABLE "knowledge_base_sectionables_videos"  (0.1ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (0.1ms) SELECT * FROM "aknowledge_base_sectionables_videos"  (0.1ms) DROP TABLE "aknowledge_base_sectionables_videos" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140821085102"]]  (1.6ms) commit transaction Migrating to AddTitleToKnowledgeBaseSectionablesVideos (20140821151832)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "knowledge_base_sectionables_videos" ADD "title" varchar(255) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140821151832"]]  (0.9ms) commit transaction Migrating to AddTitleToAttachmentLists (20140930121510)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "knowledge_base_sectionables_attachments_lists" ADD "title" varchar(255) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140930121510"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_attachments_on_attachment_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_attachments_on_attachment_list_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (1.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer DEFAULT 0, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (1.0ms) CREATE TABLE "knowledge_base_sectionables_attachments_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "file" varchar(255), "attachment_list_id" integer, "description" text)   (0.9ms) CREATE INDEX "index_knowledge_base_attachments_on_attachment_list_id" ON "knowledge_base_sectionables_attachments_attachments" ("attachment_list_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_attachments_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "style" varchar(255), "title" varchar(255))   (0.9ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime, "style" varchar(255))  (1.0ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer DEFAULT 0, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (1.1ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer DEFAULT 0, "links_id" integer, "created_at" datetime, "updated_at" datetime, "description" text)  (1.0ms) CREATE TABLE "knowledge_base_sectionables_links_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "style" varchar(255))   (1.2ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer DEFAULT 0, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (1.0ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime, "image" varchar(255), "style" varchar(255))  (1.0ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime, "image" varchar(255), "style" varchar(255))   (1.0ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime, "style" varchar(255), "title" varchar(255))  (1.0ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140930121510')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318125210')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318210722')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320125825')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140325083548')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140404234850')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410184906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410185528')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191611')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410203342')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205056')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410224403')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410231048')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410231433')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140430112603')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140430112633')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140820114750')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140821081854')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140821085102')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140821151832')