Skip to content

Commit 7c2cf2b

Browse files
committed
tweak the migration docs
* Clearer wording around migration descriptions * Add some missing backticks
1 parent 6b8f3c3 commit 7c2cf2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/piccolo/migrations/create.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ supports `auto migrations` which can save a great deal of time.
8383

8484
Piccolo will work out which tables to add by comparing previous auto migrations,
8585
and your current tables. In order for this to work, you have to register
86-
your app's tables with the `AppConfig` in the piccolo_app.py file at the root
87-
of your app (see :ref:`PiccoloApps`).
86+
your app's tables with the ``AppConfig`` in the ``piccolo_app.py`` file at the
87+
root of your app (see :ref:`PiccoloApps`).
8888

8989
Creating an auto migration:
9090

@@ -122,5 +122,5 @@ can specify it when creating the migration:
122122
123123
piccolo migrations new my_app --auto --desc="Adding name column"
124124
125-
The Piccolo CLI will then use this description where appropriate when dealing
126-
with migrations.
125+
The Piccolo CLI will then use this description when listing migrations, to make
126+
them easier to identify.

0 commit comments

Comments
 (0)