chore add core rust project files and diesel migrations

Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
This commit is contained in:
2026-04-23 17:20:01 +08:00
parent c843fecbce
commit 44c320d8fa
392 changed files with 11786 additions and 0 deletions
@@ -0,0 +1 @@
-- This file should undo anything in `up.sql`
@@ -0,0 +1,19 @@
-- Your SQL goes here
create table comments
(
id varchar not null
constraint comments_pk
primary key,
ref_id varchar not null,
ref_type varchar not null,
parent_id varchar,
created_at timestamp not null,
created_by varchar not null,
creator_name varchar,
content jsonb
);
create unique index comments_id_uindex
on comments (id);