diff --git a/src/tidy/02-schema.md b/src/tidy/02-schema.md index 93ada5d..aefd9d6 100644 --- a/src/tidy/02-schema.md +++ b/src/tidy/02-schema.md @@ -38,8 +38,8 @@ This allows `people` to discuss the `object` in a conversational style similar to what they are already used to from using **Instant Messaging**. -+ `obj_id` - the `id` of the `object` the `image` belongs to. -+ `person_id` - `id` of the `person` who uploaded the `image`. ++ `obj_id` - the `id` of the `object` the `comment` belongs to. ++ `person_id` - `id` of the `person` commenter. + `text` - the `string` of their comment. @@ -48,7 +48,9 @@ from using **Instant Messaging**. Using the [`mix phx.gen.live`](https://hexdocs.pm/phoenix/Mix.Tasks.Phx.Gen.Schema.html) command, +we can create the `object` schema and `LiveView` pages, run: + ```sh mix phx.gen.live Objects Object objects name:binary desc:binary color:binary person_id:integer owner_id:integer location:binary status:integer ``` diff --git a/src/tidy/README.md b/src/tidy/README.md index 393463a..0f0dd52 100644 --- a/src/tidy/README.md +++ b/src/tidy/README.md @@ -10,4 +10,13 @@ and prevents us from living our "best life". More detailed background/reasoning in: [dwyl/tidy](https://github.com/dwyl/tidy) -Here we are only documenting how we built it! \ No newline at end of file +Here we are only documenting how we built it! + +Our guiding wireframes +for this mini project were: + +tidy-first-screen + +tidy-app-comment-update + +We will refer back to these in the next few pages. \ No newline at end of file