-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pagination on scoreboard / teams #449 Category Description #382 CyberChef 9.28.0 Moved notifications to menu icon Public user profile when scoreboard public Record User Flag Captures for Public User page stats User account expire option Addressed unit test error #347 Timer option to allow scoreboard visibility #452 , #174
- Loading branch information
Showing
121 changed files
with
6,233 additions
and
5,169 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
"""add user_to_flag | ||
Revision ID: 098ab7c733ea | ||
Revises: 4aa1bab989f8 | ||
Create Date: 2021-08-08 23:03:49.444306 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "098ab7c733ea" | ||
down_revision = "4aa1bab989f8" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.create_table( | ||
"user_to_flag", | ||
sa.Column( | ||
"user_id", | ||
sa.Integer, | ||
sa.ForeignKey("user.id", ondelete="CASCADE"), | ||
nullable=False, | ||
), | ||
sa.Column( | ||
"flag_id", | ||
sa.Integer, | ||
sa.ForeignKey("flag.id", ondelete="CASCADE"), | ||
nullable=False, | ||
), | ||
) | ||
op.add_column("category", sa.Column("_description", sa.VARCHAR(1024))) | ||
op.add_column("user", sa.Column("_expire", sa.DateTime)) | ||
|
||
|
||
def downgrade(): | ||
op.drop_table("user_to_flag") | ||
op.drop_column("category", "_description") | ||
op.drop_column("user", "_expire") |
Oops, something went wrong.