test/dummy/db/test.sqlite3 in guts-1.0.8 vs test/dummy/db/test.sqlite3 in guts-1.1.0
- old
+ new
@@ -1,34 +1,42 @@
-SQLite format 3 @ ! ! -
-
F[
+SQLite format 3 @ , 5 -
+ +
F[
gb+9p )!!tableguts_mediaguts_mediaCREATE TABLE "guts_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "tags" text, "position" integer DEFAULT 0, "filable_id" integer, "filable_type" varchar, "caption" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)w55tableguts_categorizationsguts_categorizationsCREATE TABLE "guts_categorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "content_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)C''indexindex_guts_contents_on_slugguts_contentsCREATE UNIQUE INDEX "index_guts_contents_on_slug" ON "guts_contents" ("slug")9''1tableguts_contentsguts_contentsCREATE TABLE "guts_contents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "tags" text, "content" text, "visible" integer(1) DEFAULT 1, "type_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
G+/indexindex_guts_categories_on_slugguts_categoriesCREATE UNIQUE INDEX "index_guts_categories_on_slug" ON "guts_categories" ("slug")o++tableguts_categoriesguts_categoriesCREATE TABLE "guts_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "metafields" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)e--}tableguts_user_groupsguts_user_groupsCREATE TABLE "guts_user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)z
?#indexindex_guts_groups_on_slugguts_groupsCREATE UNIQUE INDEX "index_guts_groups_on_slug" ON "guts_groups" ("slug")P##gtableguts_groupsguts_groups
CREATE TABLE "guts_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)!!Otableguts_usersguts_usersCREATE TABLE "guts_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password_digest" varchar, "password_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)v
=!indexindex_guts_types_on_slugguts_typesCREATE UNIQUE INDEX "index_guts_types_on_slug" ON "guts_types" ("slug")M !!etableguts_typesguts_types
-CREATE TABLE "guts_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL))_/Qindexindex_friendly_id_slugs_on_sluggable_typefriendly_id_slugs CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")h/'indexindex_friendly_id_slugs_on_slug_and_sluggable_type_and_scopefriendly_id_slugsCREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")Cq/sindexindex_friendly_id_slugs_on_slug_and_sluggable_typefriendly_id_slugsCREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")#[/Iindexindex_friendly_id_slugs_on_sluggable_idfriendly_id_slugsCREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)//1tablefriendly_id_slugsfriendly_id_slugsCREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")l//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar NOT
13
121110
-9 876543210
- 1312
11109
-8 7654321 0
vX?*
!guts_users-T-guts_user_groups}!guts_typesK
-'guts_trackers:l %guts_optionsV-guts_navigations2 s7guts_navigation_itemsU*+guts_metafields7z!guts_media #guts_groups&'guts_contentsr#5guts_categorizations1,%+guts_categories/
+CREATE TABLE "guts_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL))_/Qindexindex_friendly_id_slugs_on_sluggable_typefriendly_id_slugs CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")h/'indexindex_friendly_id_slugs_on_slug_and_sluggable_type_and_scopefriendly_id_slugsCREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")Cq/sindexindex_friendly_id_slugs_on_slug_and_sluggable_typefriendly_id_slugsCREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")#[/Iindexindex_friendly_id_slugs_on_sluggable_idfriendly_id_slugsCREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)//1tablefriendly_id_slugsfriendly_id_slugsCREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")l//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar
p^L:( )20160410203608)20160410200459)20160410200029)20160309030244
)20160309030243)20160309030242)20160309030241
+)20160309030240 )20160309030239)20160309030238)20160309030237)20160309030236)20160309030235)20160309030234)20160309030233)20160309030232)20160309030231
+ |iVC0
+ )20160410203608)20160410200459)20160410200029)20160309030244)20160309030243
)20160309030242)20160309030241)20160309030240
+)20160309030239 )20160309030238)20160309030237)20160309030236)20160309030235)20160309030234)20160309030233)20160309030232) 20160309030231
vX?* !guts_users-T
-guts_user_groups}!guts_typesK'guts_trackers:l
+!guts_sites,2 %guts_optionsV-guts_navigations2 s7guts_navigation_itemsU*+guts_metafields9ׄ!guts_media #guts_groups&'guts_contentsr#5guts_categorizations1,%+guts_categories/
-
4s 33Pagepage2016-03-09 04:38:002016-03-09 04:38:00
- pageK
o o
-쩩+ !+33Test Admintest@domain.com$2a$10$ufkl6AZOOMycq45JaxsuCeRI9kW58hJHHn42e84FGjBvL1kyjrL3e1234562016-03-09 04:38:002016-03-09 04:38:00
8O 33Adminsadmins2016-03-09 04:38:002016-03-09 04:38:00
-
admins&
4A 33-T&2016-03-09 04:38:002016-03-09 04:38:00
J +) 33Super Category!super-category2016-03-09 04:38:002016-03-09 04:38:00
- )super-category/
- - ^] ## 3 33Test Page 2test-page-2Test page content 2K2016-03-09 04:38:002016-03-09 04:38:00iιo '/ 33Test Pagetest-pageone,two,threeTest page contentK-T2016-03-09 04:38:002016-03-09 04:38:00
- #test-page-2r#test-pages
4i 33/s2016-03-09 04:38:002016-03-09 04:38:00
gϘa '33! PeppersGuts::ContentMy dog2016-03-09 04:38:002016-03-09 04:38:00Pepper.jpgimage/jpg"
- 'Guts::Contents
p
F[
- gb+9p )!!tableguts_mediaguts_mediaCREATE TABLE "g )!!tableguts_mediaguts_mediaCREATE TABLE "guts_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "tags" text, "position" integer DEFAULT 0, "filable_id" integer, "filable_type" varchar, "caption" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)w55tableguts_categorizationsguts_categorizationsCREATE TABLE "guts_categorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "content_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)C''indexindex_guts_contents_on_slugguts_contentsCREATE UNIQUE INDEX "index_guts_contents_on_slug" ON "guts_contents" ("slug")9''1tableguts_contentsguts_contentsCREATE TABLE "guts_contents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "tags" text, "content" text, "visible" integer(1) DEFAULT 1, "type_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
-G+/indexindex_guts_categories_on_slugguts_categoriesCREATE UNIQUE INDEX "index_guts_categories_on_slug" ON "guts_categories" ("slug")o++tableguts_categoriesguts_categoriesCREATE TABLE "guts_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "metafields" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)e--}tableguts_user_groupsguts_user_groupsCREATE TABLE "guts_user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)z
?#indexindex_guts_groups_on_slugguts_groupsCREATE UNIQUE INDEX "index_guts_groups_on_slug" ON "guts_groups" ("slug")P##gtableguts_groupsguts_groups
CREATE TABLE "guts_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)!!Otableguts_usersguts_usersCREATE TABLE "guts_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password_digest" varchar, "password_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)v
-=!indexindex_guts_types_on_slugguts_typesCREATE UNIQUE INDEX "index_guts_types_on_slug" ON "guts_types" ("slug")M !!etableguts_typesguts_types
-CREATE TABLE "guts_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL))_/Qindexindex_friendly_id_slugs_on_sluggable_typefriendly_id_slugs CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")h/'indexindex_friendly_id_slugs_on_slug_and_sluggable_type_and_scopefriendly_id_slugsCREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")Cq/sindexindex_friendly_id_slugs_on_slug_and_sluggable_typefriendly_id_slugsCREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")#[/Iindexindex_friendly_id_slugs_on_sluggable_idfriendly_id_slugsCREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)//1tablefriendly_id_slugsfriendly_id_slugsCREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")l//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
6
\
-b V2%OM . | 9m'kindexindex_guts_trackers_on_object_type_and_object_idguts_trackers CREATE INDEX "index_guts_trackers_on_object_type_and_object_id" ON "guts_trackers" ("object_type", "object_id")''=tableguts_trackersguts_trackersCREATE TABLE "guts_trackers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "object_id" integer, "object_type" varchar, "params" text, "action" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)S}+indexindex_guts_metafields_on_fieldable_type_and_fieldable_idguts_metafieldsCREATE INDEX "index_guts_metafields_on_fieldable_type_and_fieldable_id" ON "guts_metafields" ("fieldable_type", "fieldable_id")
-++Ktableguts_metafieldsguts_metafieldsCREATE TABLE "guts_metafields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar, "value" text, "fieldable_id" integer, "fieldable_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)A[7}indexindex_nav_items_on_nav_with_type_and_idguts_navigation_itemsCREATE INDEX "index_nav_items_on_nav_with_type_and_id" ON "guts_navigation_items" ("navigatable_type", "navigatable_id")]77Ytableguts_navigation_itemsguts_navigation_itemsCREATE TABLE "guts_navigation_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "custom" varchar, "position" integer DEFAULT 0, "navigatable_id" integer, "navigatable_type" varchar, "navigation_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)I-3indexindex_guts_navigations_on_slugguts_navigationsCREATE UNIQUE INDEX "index_guts_navigations_on_slug" ON "guts_navigations" ("slug")!!wtableguts_mediaguts_mediaCREATE TABLE "guts_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "tags" text, "position" integer DEFAULT 0, "filable_id" integer, "filable_type" varchar, "caption" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "file_file_name" varchar, "file_content_type" varchar, "file_file_size" integer, "file_updated_at" datetime)3k!gindexindex_guts_media_on_filable_type_and_filable_idguts_mediaCREATE INDEX "index_guts_media_on_filable_type_and_filable_id" ON "guts_media" ("filable_type", "filable_id") J!!tableguts_mediaguts_mediaCREATE TABLE "guts_media" ("id" IN _--qtableguts_navigationsguts_navigationsCREATE TABLE "guts_navigations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)w55tableguts_categorizationsguts_categorizationsCREATE TABLE "guts_categorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "content_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)C''indexindex_guts_contents_on_slugguts_contentsCREATE UNIQUE INDEX "index_guts_contents_on_slug" ON "guts_contents" ("slug") M''1tableguts_contentsguts_contentsCREATE TABLE "guts_contents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "tags" text, "content" text, "visible" integer(1) DEFAULT 1, "type_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
-G+/indexindex_guts_categories_on_slugguts_categoriesCREATE UNIQUE INDEX "index_guts_categories_on_slug" ON "guts_categories" ("slug")o++tableguts_categoriesguts_categoriesCREATE TABLE "guts_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "metafields" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)e--}tableguts_user_groupsguts_user_groupsCREATE TABLE "guts_user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integeO%%atableguts_optionsguts_options!CREATE TABLE "guts_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar, "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
< 33Test Navtest-nav2016-03-09 04:38:002016-03-09 04:38:00
- test-nav2 s
P P R9
- '/ 33Test Nav Itemhttp://google.ca/2 s2016-03-09 04:38:002016-03-09 04:38:00R׀*
- '