Skip to content

Commit

Permalink
Add migration to track post timestamp with wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjrw committed May 3, 2024
1 parent 2a85c2c commit 95a390f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE
context_wiki
DROP COLUMN
checked_timestamp;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ALTER TABLE
context_wiki
ADD COLUMN
checked_timestamp INT UNSIGNED NOT NULL;

UPDATE
context_wiki
SET
new_posts_checked_timestamp = 0;

0 comments on commit 95a390f

Please sign in to comment.