14 lines
463 B
Python
14 lines
463 B
Python
"""Backward-compat shim — Company is now Contact with type='company'.
|
|
|
|
This module re-exports Contact as Company for code that still imports
|
|
from app.models.company. The old companies table no longer exists;
|
|
all company data lives in the contacts table with type='company'.
|
|
"""
|
|
|
|
from app.models.contact import Contact, ContactPerson
|
|
|
|
# Backward-compat: Company is now just a Contact with type='company'
|
|
Company = Contact
|
|
|
|
__all__ = ["Company", "ContactPerson"]
|