Allow easily switching fake_migrate on to allow easier fixes of the database migrations
This commit is contained in:
@@ -266,6 +266,12 @@ web2py will attempt to run a GUI to ask for it when starting the web server
|
||||
'(default is %(default)s), see -S above. NOTE: when the APP_ENV '
|
||||
'argument of -S include a controller c automatic import of '
|
||||
'models is always enabled')
|
||||
g.add_argument('--fake_migrate',
|
||||
default=False,
|
||||
action='store_true',
|
||||
help=
|
||||
'force DAL to fake migrate all tables; '
|
||||
'monkeypatch in the DAL class to force _fake_migrate=True')
|
||||
g.add_argument('--force_migrate', '--force-migrate',
|
||||
default=False,
|
||||
action='store_true', help=
|
||||
|
||||
Reference in New Issue
Block a user