Skip to main content

soar_db/schema/
metadata.rs

1diesel::table! {
2    maintainers (id) {
3        id -> Integer,
4        contact -> Text,
5        name -> Text,
6    }
7}
8
9diesel::table! {
10    package_maintainers (rowid) {
11        rowid -> Integer,
12        maintainer_id -> Integer,
13        package_id -> Integer,
14    }
15}
16
17diesel::table! {
18    packages (id) {
19        id -> Integer,
20        pkg_id -> Text,
21        pkg_name -> Text,
22        pkg_type -> Nullable<Text>,
23        pkg_webpage -> Nullable<Text>,
24        app_id -> Nullable<Text>,
25        description -> Nullable<Text>,
26        version -> Text,
27        licenses -> Nullable<Jsonb>,
28        download_url -> Text,
29        size -> Nullable<BigInt>,
30        ghcr_pkg -> Nullable<Text>,
31        ghcr_size -> Nullable<BigInt>,
32        ghcr_blob -> Nullable<Text>,
33        ghcr_url -> Nullable<Text>,
34        bsum -> Nullable<Text>,
35        icon -> Nullable<Text>,
36        desktop -> Nullable<Text>,
37        appstream -> Nullable<Text>,
38        homepages -> Nullable<Jsonb>,
39        notes -> Nullable<Jsonb>,
40        source_urls -> Nullable<Jsonb>,
41        tags -> Nullable<Jsonb>,
42        categories -> Nullable<Jsonb>,
43        build_id -> Nullable<Text>,
44        build_date -> Nullable<Text>,
45        build_action -> Nullable<Text>,
46        build_script -> Nullable<Text>,
47        build_log -> Nullable<Text>,
48        provides -> Nullable<Jsonb>,
49        snapshots -> Nullable<Jsonb>,
50        replaces -> Nullable<Jsonb>,
51        soar_syms -> Bool,
52        desktop_integration -> Nullable<Bool>,
53        portable -> Nullable<Bool>,
54        recurse_provides -> Nullable<Bool>,
55    }
56}
57
58diesel::table! {
59    repository (rowid) {
60        rowid -> Integer,
61        name -> Text,
62        etag -> Text,
63    }
64}
65
66diesel::allow_tables_to_appear_in_same_query!(
67    maintainers,
68    package_maintainers,
69    packages,
70    repository,
71);