chore: initial commit
This commit is contained in:
8
internal/db/schema/post_stats.sql
Normal file
8
internal/db/schema/post_stats.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE post_stats
|
||||
(
|
||||
post_id INTEGER PRIMARY KEY,
|
||||
view INTEGER NOT NULL DEFAULT 0
|
||||
);
|
||||
|
||||
COMMENT ON COLUMN post_stats.post_id IS '文章id';
|
||||
COMMENT ON COLUMN post_stats.view IS '文章阅读量';
|
||||
Reference in New Issue
Block a user