mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 18:00:37 +01:00
e6e3b212b3
* Run Migrate in Install rather than just SyncTables The underlying problem in #17328 appears to be that users are re-running the install page during upgrades. The function that tests and creates the db did not intend for this and thus instead the migration scripts being run - a simple sync tables occurs. This then causes a weird partially migrated DB which causes, in this release cycle, the duplicate column in task table error. It is likely the cause of some weird partial migration errors in other cycles too. This PR simply ensures that the migration scripts are also run at this point too. Fix #17328 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
context.go | ||
convert.go | ||
engine.go | ||
index.go | ||
list_options.go | ||
list_options_test.go | ||
log.go | ||
main_test.go | ||
sequence.go | ||
sql_postgres_with_schema.go | ||
store.go | ||
test_fixtures.go | ||
unit_tests.go |