Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for post usage when combining usage items #53

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions alembic/versions/9f4b6184b2f8_drop_usage_pkey.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""drop_usage_pkey

Revision ID: 9f4b6184b2f8
Revises: b65796c99771
Create Date: 2024-10-10 11:28:39.846967

"""

from alembic import op

# revision identifiers, used by Alembic.
revision = "9f4b6184b2f8"
down_revision = "b65796c99771"
branch_labels = None
depends_on = None


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_constraint("usage_pkey", "usage", type_="primary", schema="accounting")
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_primary_key("usage_pkey", "usage", ["id"], schema="accounting")
# ### end Alembic commands ###
Loading
Loading