Persist auth store into formal tables
This commit is contained in:
@@ -8,6 +8,13 @@ pub struct AuthStoreSnapshot {
|
||||
pub(crate) updated_at: Timestamp,
|
||||
}
|
||||
|
||||
#[spacetimedb::table(accessor = auth_store_projection_meta)]
|
||||
pub struct AuthStoreProjectionMeta {
|
||||
#[primary_key]
|
||||
pub(crate) meta_id: String,
|
||||
pub(crate) updated_at: Timestamp,
|
||||
}
|
||||
|
||||
#[spacetimedb::table(
|
||||
accessor = user_account,
|
||||
index(accessor = by_user_account_username, btree(columns = [username])),
|
||||
|
||||
Reference in New Issue
Block a user