diff --git a/migrations/004_comments.sql b/migrations/004_comments.sql index d58ef13..c46db6e 100644 --- a/migrations/004_comments.sql +++ b/migrations/004_comments.sql @@ -12,7 +12,6 @@ CREATE TABLE IF NOT EXISTS comments ( status TEXT NOT NULL DEFAULT 'pending', ip_address VARCHAR(45), user_agent VARCHAR(500), - consented_at TIMESTAMPTZ, approved_at TIMESTAMPTZ, created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), diff --git a/src/models/comment.rs b/src/models/comment.rs index f3d1125..d1379a3 100644 --- a/src/models/comment.rs +++ b/src/models/comment.rs @@ -47,7 +47,6 @@ pub struct Comment { pub status: CommentStatus, pub ip_address: Option, pub user_agent: Option, - pub consented_at: Option>, pub approved_at: Option>, pub created_at: DateTime, pub updated_at: DateTime,