feat: implement article version content storage and reconstruction logic; enhance article repository with version management
This commit is contained in:
@@ -0,0 +1 @@
|
||||
SELECT 1;
|
||||
@@ -0,0 +1,6 @@
|
||||
UPDATE articles
|
||||
SET current_version_id = NULL,
|
||||
updated_at = NOW()
|
||||
WHERE current_version_id IS NOT NULL;
|
||||
|
||||
DELETE FROM article_versions;
|
||||
Reference in New Issue
Block a user