net/indexeddb/engines/sqlite/
database_model.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4use sea_query::Iden;
5
6#[derive(Iden)]
7#[expect(unused)]
8pub enum Column {
9    #[iden = "database"]
10    Table,
11    Name,
12    Origin,
13    Version,
14}
15
16#[allow(dead_code)]
17#[derive(Clone, Debug, Eq, PartialEq)]
18pub struct Model {
19    pub name: String,
20    pub origin: String,
21    pub version: i64,
22    // TODO: Hold timestamp for vacuuming
23    // TODO: implement vacuuming
24}