chore: init monorepo with GPL-3.0 license, docs, backend skeleton, frontend wiring
This commit is contained in:
commit
43cf0e277d
57 changed files with 5027 additions and 0 deletions
10
indexium-backend/migrations/20260908000001_collections.sql
Normal file
10
indexium-backend/migrations/20260908000001_collections.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
CREATE TABLE IF NOT EXISTS collections (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
slug VARCHAR(64) UNIQUE NOT NULL,
|
||||
title VARCHAR(128) NOT NULL,
|
||||
description TEXT,
|
||||
mods JSONB NOT NULL DEFAULT '[]'::jsonb,
|
||||
author_id BIGINT,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS idx_collections_slug ON collections(slug);
|
||||
Loading…
Add table
Add a link
Reference in a new issue