feat: added backend for site comments
This commit is contained in:
parent
4b1a899f05
commit
af3dfba510
12 changed files with 359 additions and 2 deletions
0
migrations/.diesel_lock
Normal file
0
migrations/.diesel_lock
Normal file
0
migrations/.keep
Normal file
0
migrations/.keep
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE comments
|
||||
6
migrations/2025-09-23-083540-0000_create_comments/up.sql
Normal file
6
migrations/2025-09-23-083540-0000_create_comments/up.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE comments (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
author TEXT NOT NULL,
|
||||
content TEXT NOT NULL
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue