risingwave_meta_model/
hummock_sstable_info.rsuse risingwave_pb::hummock::PbSstableInfo;
use sea_orm::entity::prelude::*;
use sea_orm::{DeriveEntityModel, DeriveRelation, EnumIter};
use crate::HummockSstableObjectId;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Default)]
#[sea_orm(table_name = "hummock_sstable_info")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub sst_id: HummockSstableObjectId,
pub object_id: HummockSstableObjectId,
pub sstable_info: SstableInfoV2Backend,
}
impl ActiveModelBehavior for ActiveModel {}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
crate::derive_from_blob!(SstableInfoV2Backend, PbSstableInfo);