table! { attachments (id) { id -> Text, cipher_uuid -> Text, file_name -> Text, file_size -> Integer, akey -> Nullable, } } table! { ciphers (uuid) { uuid -> Text, created_at -> Timestamp, updated_at -> Timestamp, user_uuid -> Nullable, organization_uuid -> Nullable, atype -> Integer, name -> Text, notes -> Nullable, fields -> Nullable, data -> Text, favorite -> Bool, password_history -> Nullable, } } table! { ciphers_collections (cipher_uuid, collection_uuid) { cipher_uuid -> Text, collection_uuid -> Text, } } table! { collections (uuid) { uuid -> Text, org_uuid -> Text, name -> Text, } } table! { devices (uuid) { uuid -> Text, created_at -> Timestamp, updated_at -> Timestamp, user_uuid -> Text, name -> Text, atype -> Integer, push_token -> Nullable, refresh_token -> Text, twofactor_remember -> Nullable, } } table! { folders (uuid) { uuid -> Text, created_at -> Timestamp, updated_at -> Timestamp, user_uuid -> Text, name -> Text, } } table! { folders_ciphers (cipher_uuid, folder_uuid) { cipher_uuid -> Text, folder_uuid -> Text, } } table! { invitations (email) { email -> Text, } } table! { organizations (uuid) { uuid -> Text, name -> Text, billing_email -> Text, } } table! { twofactor (uuid) { uuid -> Text, user_uuid -> Text, atype -> Integer, enabled -> Bool, data -> Text, last_used -> Integer, } } table! { users (uuid) { uuid -> Text, created_at -> Timestamp, updated_at -> Timestamp, verified_at -> Nullable, last_verifying_at -> Nullable, login_verify_count -> Integer, email -> Text, email_new -> Nullable, email_new_token -> Nullable, name -> Text, password_hash -> Binary, salt -> Binary, password_iterations -> Integer, password_hint -> Nullable, akey -> Text, private_key -> Nullable, public_key -> Nullable, totp_secret -> Nullable, totp_recover -> Nullable, security_stamp -> Text, equivalent_domains -> Text, excluded_globals -> Text, client_kdf_type -> Integer, client_kdf_iter -> Integer, } } table! { users_collections (user_uuid, collection_uuid) { user_uuid -> Text, collection_uuid -> Text, read_only -> Bool, } } table! { users_organizations (uuid) { uuid -> Text, user_uuid -> Text, org_uuid -> Text, access_all -> Bool, akey -> Text, status -> Integer, atype -> Integer, } } joinable!(attachments -> ciphers (cipher_uuid)); joinable!(ciphers -> organizations (organization_uuid)); joinable!(ciphers -> users (user_uuid)); joinable!(ciphers_collections -> ciphers (cipher_uuid)); joinable!(ciphers_collections -> collections (collection_uuid)); joinable!(collections -> organizations (org_uuid)); joinable!(devices -> users (user_uuid)); joinable!(folders -> users (user_uuid)); joinable!(folders_ciphers -> ciphers (cipher_uuid)); joinable!(folders_ciphers -> folders (folder_uuid)); joinable!(twofactor -> users (user_uuid)); joinable!(users_collections -> collections (collection_uuid)); joinable!(users_collections -> users (user_uuid)); joinable!(users_organizations -> organizations (org_uuid)); joinable!(users_organizations -> users (user_uuid)); allow_tables_to_appear_in_same_query!( attachments, ciphers, ciphers_collections, collections, devices, folders, folders_ciphers, invitations, organizations, twofactor, users, users_collections, users_organizations, );