refactor(comments): remove consented_at column from migration and model
This commit is contained in:
parent
59d5b9222a
commit
ec2f3e313e
@ -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(),
|
||||
|
||||
@ -47,7 +47,6 @@ pub struct Comment {
|
||||
pub status: CommentStatus,
|
||||
pub ip_address: Option<String>,
|
||||
pub user_agent: Option<String>,
|
||||
pub consented_at: Option<DateTime<Utc>>,
|
||||
pub approved_at: Option<DateTime<Utc>>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user