forgejo/cmd
zeripath 1b9d5074a7
Add command to recreate tables (#12407)
Provides new command: `gitea doctor recreate-table` which will recreate
db tables and copy the old data in to the new table.

This function can be used to remove the old warning of struct defaults being
out of date.

Fix #8868
Fix #3265
Fix #8894

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-06 22:52:01 +01:00
..
admin.go make gitea admin auth list formatting configurable (#10844) 2020-03-27 22:26:43 +01:00
admin_auth_ldap.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
doctor.go Add command to recreate tables (#12407) 2020-09-06 22:52:01 +01:00
dump.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
embedded.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
embedded_stub.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
generate.go TrimSpace when reading InternalToken from a file (#11502) 2020-05-20 19:16:06 +03:00
hook.go Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 2020-08-30 08:24:39 +01:00
keys.go Add debug option to serv to help debug problems (#9492) 2019-12-25 23:44:57 +08:00
manager.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
migrate_storage.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
serv.go Ensure repoNames are lowercased in serv (#12668) 2020-08-31 18:12:49 +01:00
web.go Make the default PID file compile-time settable (#12485) 2020-08-15 21:15:27 +01:00
web_graceful.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00