Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/colibri-social/appview. The AppView (backend server) for Colibri api.colibri.social
Something went wrong. Try again.
123456789101112131415161718192021222324252627use sea_orm::entity::prelude::*;use serde::Serialize;
#[sea_orm::model]#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Serialize)]#[sea_orm(table_name = "push_subscriptions")]pub struct Model { #[sea_orm(primary_key)] pub id: i64, #[sea_orm(column_type = "Text")] pub actor_did: String, #[sea_orm(column_type = "Text")] pub endpoint: String, #[sea_orm(column_type = "Text", nullable)] pub p256dh: Option<String>, #[sea_orm(column_type = "Text", nullable)] pub auth: Option<String>, #[sea_orm(column_type = "Text")] pub platform: String, #[sea_orm(column_type = "Text")] pub provider: String, #[sea_orm(column_type = "Text")] pub created_at: String,}
impl ActiveModelBehavior for ActiveModel {}