Files
xiaoxia-saas/init-tables.sql
T

15 lines
610 B
SQL

-- Deprecated schema snapshot.
--
-- Runtime schema creation is currently owned by SQLAlchemy models in:
-- packages/adapters/sqlalchemy_impl/models.py
--
-- Do not apply this file to staging or production. It is retained only for
-- historical reference while the project migrates toward a proper Alembic flow.
-- Applying it would create columns such as assets.library_id/storage_key/mime_type
-- that conflict with the current runtime table shape.
DO $$
BEGIN
RAISE EXCEPTION 'init-tables.sql is deprecated. Use SQLAlchemy runtime schema initialization / future Alembic migrations instead.';
END $$;