mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-18 14:34:24 +02:00
Spelling and grammar sweep
This commit is contained in:
parent
4c265933b9
commit
49fbb1b262
1 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ Here is a simple example of a ``migrations.py`` file which creates a table, then
|
|||
Applying migrations in Python
|
||||
=============================
|
||||
|
||||
Once you have a ``Migrations(name)`` collection with one or more migrations registered to it, you can eexcute them in Python code like this:
|
||||
Once you have a ``Migrations(name)`` collection with one or more migrations registered to it, you can execute them in Python code like this:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ Migration functions are applied in the order that they were registered. The func
|
|||
def create_table(db):
|
||||
db["creatures"].create({"id": int, "name": str}, pk="id")
|
||||
|
||||
When you apply a sit of migrations you can stop part way through by specifying a ``stop_before=`` migration name:
|
||||
When you apply a set of migrations you can stop part way through by specifying a ``stop_before=`` migration name:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ Example output:
|
|||
Stopping before a migration
|
||||
===========================
|
||||
|
||||
When applying a single migration file, you can stop before a named migration:
|
||||
When applying a single migration set, you can stop before a named migration:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue