//! The text of a comment before each edit.
use laravel::model::model;
use laravel::time::Timestamp;
/// The text a comment had before an edit, from the `comment_revisions` table.
#[model(table = "comment_revisions")]
pub struct CommentRevision {
pub id: i64,
pub comment_id: i64,
/// The text before the edit.
pub body: String,
/// When the edit replaced it.
pub created_at: Option<Timestamp>,
}