mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-19 15:04:23 +01:00
Add note about upgrade vs db.create_all
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* Fix Challenge Reset in Admin Panel where Dynamic Challenges prevented resetting Challenges
|
* Fix Challenge Reset in Admin Panel where Dynamic Challenges prevented resetting Challenges
|
||||||
|
|
||||||
**Plugins**
|
**Plugins**
|
||||||
* Add the `CTFd.plugins.migrations` module to allow plugins to handle migrations
|
* Add the `CTFd.plugins.migrations` module to allow plugins to handle migrations. Plugins should now call `CTFd.plugins.migrations.upgrade` instead of `app.db.create_all` which will allow the plugin to have database migrations.
|
||||||
* Make Dynamic Challenges have a cascading deletion constraint against their respective Challenge row
|
* Make Dynamic Challenges have a cascading deletion constraint against their respective Challenge row
|
||||||
|
|
||||||
**Miscellaneous**
|
**Miscellaneous**
|
||||||
|
|||||||
Reference in New Issue
Block a user