You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
flask-sqlacodegen
2
2
=================
3
3
4
-
Fork from <ahref="https://pypi.python.org/pypi/sqlacodegen">sqlacodegen</a>. Based off of version 1.1.6.
4
+
Fork of <ahref="https://pypi.python.org/pypi/sqlacodegen">sqlacodegen</a>. Based off of version 1.1.6.
5
5
6
6
What's different:
7
7
* Support for Flask-SQLAlchemy syntax using `--flask` option. All this means:
@@ -13,3 +13,14 @@ What's different:
13
13
* Generate explicit primary joins. I deal with pretty complicated tables that need explicit primary joins.
14
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.
15
15
*`--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`.
16
+
17
+
## Install
18
+
19
+
Note: planning to upload to pip. In the meantime, use the without pip option.
0 commit comments