Add the Sales CRM service through collaboration, sync architecture/registry docs, expose crm.torbatyar.ir, and include a production deploy script. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
411 B
Python
20 lines
411 B
Python
"""Initial CRM schema — Phase 6.0 foundation."""
|
|
from alembic import op
|
|
from app.core.database import Base
|
|
import app.models # noqa: F401
|
|
|
|
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)
|