Skip to content

Commit

Permalink
mentioning transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalogh committed May 24, 2009
1 parent 2278aff commit d183b40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -25,7 +25,8 @@ after the migration number, such as text describing the migration.
schematic creates a table (named in settings.py) with one column, that
holds one row, which describes the current version of the database. Any
migration file with a number greater than the current version will be
applied to the database and the version tracker will be upgraded.
applied to the database and the version tracker will be upgraded. The
migration and version bump are performed in a transaction.

The version-tracking table will initially be set to 0, so the 0th
migration could be a script that creates all your tables (for
Expand Down
3 changes: 2 additions & 1 deletion schematic.py
Expand Up @@ -27,7 +27,8 @@
schematic creates a table (named in settings.py) with one column, that
holds one row, which describes the current version of the database. Any
migration file with a number greater than the current version will be
applied to the database and the version tracker will be upgraded.
applied to the database and the version tracker will be upgraded. The
migration and version bump are performed in a transaction.
The version-tracking table will initially be set to 0, so the 0th
migration could be a script that creates all your tables (for
Expand Down

0 comments on commit d183b40

Please sign in to comment.