aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/add_member.html
diff options
context:
space:
mode:
authorJocelyn Delande <jocelyn@crapouillou.net>2016-06-18 12:13:46 +0200
committerJocelyn Delande <jocelyn@crapouillou.net>2016-06-18 12:13:46 +0200
commita5579220e005d50f00cce11b4ebb97429fe9c16f (patch)
treecacffcd3650960168a8d6921284ebe8eee48a652 /budget/templates/add_member.html
parent5084cafe6bcd266bd1e676fc6921a7dba3c48a57 (diff)
downloadihatemoney-mirror-a5579220e005d50f00cce11b4ebb97429fe9c16f.zip
ihatemoney-mirror-a5579220e005d50f00cce11b4ebb97429fe9c16f.tar.gz
ihatemoney-mirror-a5579220e005d50f00cce11b4ebb97429fe9c16f.tar.bz2
Fix migrations upgrade path for MySQL
For some reason, the migration path from unmanaged db (from alembic point-of-view) to managed db, through the initial migration works well with sqlite… But not with mysql where the db system tries to re-create the existing tables. This commit is a way to detect if we are migrating from pre-alembic era and skip the first migration (which would do nothing anyway), marking it as already executed. It's quite hackish but that's the best I found so far to get it working with both MySQL and SQLite.
Diffstat (limited to 'budget/templates/add_member.html')
0 files changed, 0 insertions, 0 deletions