forked from wangziqi/gongxue-base
feat: establish production SaaS foundation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
create extension if not exists ltree;
|
||||
create extension if not exists ltree with schema extensions;
|
||||
|
||||
create table if not exists public.content_entries (
|
||||
id uuid primary key default gen_random_uuid(),
|
||||
@@ -40,7 +40,7 @@ create table if not exists public.content_nodes (
|
||||
marker_type text
|
||||
check (marker_type is null or marker_type in ('school', 'major', 'subject', 'exam_track', 'course_package', 'sales_intent', 'custom')),
|
||||
marker_config jsonb not null default '{}'::jsonb,
|
||||
path ltree,
|
||||
path extensions.ltree,
|
||||
depth integer not null default 0 check (depth >= 0),
|
||||
sort_order integer not null default 0,
|
||||
is_active boolean not null default true,
|
||||
|
||||
Reference in New Issue
Block a user