Files
furumi-web/src/podcasts/sync_schema.sql
T

6 lines
339 B
SQL
Raw Normal View History

2026-11-22 17:11:37 +02:00
CREATE TABLE IF NOT EXISTS furumusic__podcast_register (
user_id BIGINT NOT NULL REFERENCES furumusic__user(id) ON DELETE CASCADE,
kind TEXT NOT NULL, entity_id TEXT NOT NULL, value JSONB NOT NULL,
PRIMARY KEY(user_id,kind,entity_id)
);
CREATE COLLATION IF NOT EXISTS furumusic_unicode (provider=icu, locale='und', deterministic=true);