10 lines
276 B
SQL
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.');
|