From c4040f408e9515a5655b8f1ee80833ee854ed32b Mon Sep 17 00:00:00 2001 From: Jimmy School Date: Tue, 10 Jan 2017 14:42:00 -0600 Subject: [PATCH] update two typos --- fluent/model.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fluent/model.md b/fluent/model.md index c1d8322e..ecb45a5d 100644 --- a/fluent/model.md +++ b/fluent/model.md @@ -88,7 +88,7 @@ When a `User` is saved, the `makeNode()` method will be called and the resulting ## Preparations -Some databases, like MySQL, need to be prepared for a new schema. In MySQL, this means creating a new table. Preparations are also equatable to migrations, as they can be used to alter schemes after they've already been created. +Some databases, like MySQL, need to be prepared for a new schema. In MySQL, this means creating a new table. Preparations are also equatable to migrations, as they can be used to alter schemas after they've already been created. ### Prepare @@ -125,7 +125,7 @@ Here we are deleting the table named `users`. ### Preparations as Migrations -If you want to add a field to your table after you've already created the initial schema, you can create a struct or class that inherits from `Preparation` like so: +If you want to add a field to your table after you've already created the initial schema, you can create a struct or class that conforms to `Preparation` like so: ```swift @@ -137,7 +137,7 @@ struct AddFooToBar: Preparation { } static func revert(_ database: Database) throws { - + } } ```