Adds accounting-service PATCH/archive, fiscal helpers, COA templates and setup status, plus SuperApp Accounting UI (DS, scoreboard, masters, vouchers, ledger, ops modules) with session refresh and HTTPS public API URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
387 B
Python
19 lines
387 B
Python
"""Initial accounting schema — Phases 5.1 through 5.6."""
|
|
from alembic import op
|
|
from app.core.database import Base
|
|
|
|
revision = "0001_initial"
|
|
down_revision = None
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
bind = op.get_bind()
|
|
Base.metadata.create_all(bind=bind)
|
|
|
|
|
|
def downgrade():
|
|
bind = op.get_bind()
|
|
Base.metadata.drop_all(bind=bind)
|