zkt26/db/init.sql
2026-04-01 09:38:54 +02:00

10 lines
276 B
SQL

CREATE TABLE IF NOT EXISTS notes (
id SERIAL PRIMARY KEY,
content TEXT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO notes (content) VALUES
('Welcome to the Notes App!'),
('Add, view, and delete notes using the web interface.');