Skip to content

Commit 46a8bd3

Browse files
authored
Update README.md
1 parent a169d7c commit 46a8bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ What's different:
99
* Flask-SQLAlchemy columns are used (e.g. `db.Integer`).
1010
* Metadata is only implicit in tables.
1111
* Defaults to generating backrefs in relationships. `--nobackref` still included as option in case backrefs are not wanted.
12-
* Naming of backrefs is class name in snake_case (as opposed to CamelCase) and is pluralized if it's Many-to-One or Many-to-Many using <a href="https://pypi.python.org/pypi/inflect">inflect</a>.
12+
* Naming of backrefs is class name in snake_case (as opposed to CamelCase) and is pluralized if it is Many-to-One or Many-to-Many using <a href="https://pypi.python.org/pypi/inflect">inflect</a>.
1313
* Generate explicit primary joins. I deal with pretty complicated tables that need explicit primary joins.
14-
* If column has a server_default set it to `FetchValue()` instead of trying to determine what that value is. Original code did not set the right server defaults in my set up.
14+
* If a column has a default value, set it to `FetchValue()` instead of trying to determine what that value is. Original code did not set the right server defaults in my setup.
1515
* `--ignore-cols` ignores special columns (e.g. id, inserted, updated) when generating association tables. Original code requires all columns to be foreign keys in order to generate association table. Example: `--ignore-cols id,inserted,updated`.

0 commit comments

Comments
 (0)