-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch database migration engine (#546)
* switch to django's migration engine * remove aerich * update documentation * generate default models * skip path migration when there is no table found * run migrations before running the bot * missing line break * handle missing config file * test making a new migration * models: add credits column * Revert "models: add credits column" This reverts commit 3221a5f. * Properly add credits column this time
- Loading branch information
Showing
52 changed files
with
816 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
admin_panel/bd_models/migrations/0003_delete_ball_delete_ballinstance_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Generated by Django 5.1.4 on 2025-01-28 14:44 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bd_models", "0002_move_upload_files"), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name="Ball", | ||
), | ||
migrations.DeleteModel( | ||
name="BallInstance", | ||
), | ||
migrations.DeleteModel( | ||
name="BlacklistedGuild", | ||
), | ||
migrations.DeleteModel( | ||
name="BlacklistedID", | ||
), | ||
migrations.DeleteModel( | ||
name="BlacklistHistory", | ||
), | ||
migrations.DeleteModel( | ||
name="Block", | ||
), | ||
migrations.DeleteModel( | ||
name="Economy", | ||
), | ||
migrations.DeleteModel( | ||
name="Friendship", | ||
), | ||
migrations.DeleteModel( | ||
name="Guildconfig", | ||
), | ||
migrations.DeleteModel( | ||
name="Player", | ||
), | ||
migrations.DeleteModel( | ||
name="Regime", | ||
), | ||
migrations.DeleteModel( | ||
name="Special", | ||
), | ||
migrations.DeleteModel( | ||
name="Trade", | ||
), | ||
migrations.DeleteModel( | ||
name="Tradeobject", | ||
), | ||
] |
Oops, something went wrong.