test/permissions/models/test.sqlite3 in hobo-0.8.5 vs test/permissions/models/test.sqlite3 in hobo-0.8.6
- old
+ new
@@ -1,70 +1,69 @@
-SQLite format 3 @ k
-
'code_examples /collaboratorships
-users%images comments!comments"recipes
" + My nice comment
! ! My comment + My nice comment ! My comment
-
ujP6
-jN4 hN4
+ existing recipe% + existing recipe# + existing recipe!
- + existing recipe + existing recipe new name + existing recipe # test recipe + existing recipe " = recipe with code example my recipe
+ existing recipe
- + existing recipe + existing recipe ~ + existing recipe} + existing recipe| + existing recipe{ + existing recipe z + existing recipey # test recipex # test recipew + existing recipev + existing recipeu t 1 recipe with imagess 1 recipe with imagesr 1 recipe with imagesq + existing recipep + existing recipe
wo <GtableresponsesresponsesCREATE TABLE "responses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255), "user_id" integer, "recipe_id" integer, "request_id" integer)P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)#tablecommentscommentsCREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255), "user_id" integer, "recipe_id" integer)otablerequestsrequestsCREATE TABLE "requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255), "user_id" integer)
= }m]M=
w image 2
v image 1
u image 2
t image 1
s image 2p new name
q image 2
r image 1
n image 1m new image
l image 2
k image 1
6 sx 6 ? ]tableusersusersCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(40), "salt" varchar(40), "remember_token" varchar(255), "remember_token_expires_at" datetime, "name" varchar(255), "paid_up" boolean, "state" varchar(255) DEFAULT 'active', "key_timestamp" datetime)''[tablecode_examplescode_examplesCREATE TABLE "code_examples" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filename" varchar(255));MtablerecipesrecipesCREATE TABLE "recipes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "body" varchar(255), "user_id" integer, "code_example_id" integer))//tablecollaboratorshipscollaboratorshipsCREATE TABLE "collaboratorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "recipe_id" integer)
-otableimagesimages CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "recipe_id" integer)
code.zip code.zip #exmaple.zip #exmaple.zip #changed.zip #exmaple.zip #exmaple.zip
N pP0nT8rJ0 v N %
- 7 existing recipe owneractive
- regularactive
- ) Collaborator 2active
- ) Collaborator 1active
- a n otheractive
- ) Collaborator 2active
- ) Collaborator 1active
- regularactive%
- 7 existing recipe owneractive~
- regularactive}
- a n otheractive|
- ) Collaborator 2active{
- ) Collaborator 1activez
- regularactivey
- regularactivex
- regularactivew
- a n otheractivev
- regularactiveu
- a n otheractivet
- regularactives
- a n otheractiver
- regularactiveq
- a n otheractivep
- regularactiveo
- % paid up usertactiven
- % paid up usertactivem
- % paid up usertactivel
- % paid up usertactivek
- % paid up usertactive%j
- 7 existing recipe owneractive%i
- 7 existing recipe owneractive
v bH'cB(~d<"