Phase 3 Slice 1, design §2.7 + §7. Adds a nullable text column gated by a CHECK to 'first' | 'appeal' | 'cassation'. Combined with proceeding_code + jurisdiction, the FristenrechnerService (Slice 8) will derive the effective proceeding code — e.g. DE_INF + appeal → DE_INF_OLG. No backfill in this slice. The project-detail picker UI (Slice 8) writes the column; pre-Slice-1 rows stay NULL and behave as implicit 'first' in the calculator's fallback.
4 lines
137 B
SQL
4 lines
137 B
SQL
-- t-paliad-182 down — reverses 080_projects_instance_level.up.sql.
|
|
|
|
ALTER TABLE paliad.projects DROP COLUMN IF EXISTS instance_level;
|