Files
pad/internal/store/migrations/003_custom_templates.sql
T
xarmian 81579847c6 Initial release
Pad — project management for developers and AI agents.
Single Go binary with embedded SvelteKit web UI, SQLite storage,
CLI, and Claude Code /pad skill integration.

https://getpad.dev
2026-03-26 01:52:36 +00:00

14 lines
447 B
SQL

-- Custom templates created by users
CREATE TABLE IF NOT EXISTS custom_templates (
id TEXT PRIMARY KEY,
workspace_id TEXT NOT NULL REFERENCES workspaces(id),
name TEXT NOT NULL,
description TEXT NOT NULL DEFAULT '',
doc_type TEXT NOT NULL DEFAULT 'notes',
icon TEXT NOT NULL DEFAULT '📝',
content TEXT NOT NULL DEFAULT '',
created_at TEXT NOT NULL,
updated_at TEXT NOT NULL,
UNIQUE(workspace_id, name)
);