aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_db
diff options
context:
space:
mode:
Diffstat (limited to 'crates/whirl_db')
-rw-r--r--crates/whirl_db/Cargo.toml2
-rw-r--r--crates/whirl_db/src/schema.rs16
2 files changed, 12 insertions, 6 deletions
diff --git a/crates/whirl_db/Cargo.toml b/crates/whirl_db/Cargo.toml
index d5a5071..5a39d1a 100644
--- a/crates/whirl_db/Cargo.toml
+++ b/crates/whirl_db/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "whirl_db"
version = "0.1.0"
-authors = ["Fuwn <[email protected]>"]
+authors = ["Fuwn <[email protected]>"]
edition = "2018"
description = "Provides abstractions to interact with the database layer"
documentation = "https://whirlsplash.org/docs/"
diff --git a/crates/whirl_db/src/schema.rs b/crates/whirl_db/src/schema.rs
index 6d58598..318028e 100644
--- a/crates/whirl_db/src/schema.rs
+++ b/crates/whirl_db/src/schema.rs
@@ -1,4 +1,6 @@
-table! {
+// @generated automatically by Diesel CLI.
+
+diesel::table! {
serial_numbers (user_name) {
serial_number -> Text,
user_name -> Text,
@@ -6,7 +8,7 @@ table! {
}
}
-table! {
+diesel::table! {
user_properties (user_name) {
user_name -> Text,
property_id -> Integer,
@@ -17,12 +19,12 @@ table! {
}
}
-table! {
+diesel::table! {
user_registration (user_name) {
user_name_lower -> Text,
user_name -> Text,
serial_number -> Text,
- password -> Text,
+ pass_wordword -> Text,
client_version -> Text,
account_status -> Integer,
registration_date -> Text,
@@ -32,4 +34,8 @@ table! {
}
}
-allow_tables_to_appear_in_same_query!(serial_numbers, user_properties, user_registration,);
+diesel::allow_tables_to_appear_in_same_query!(
+ serial_numbers,
+ user_properties,
+ user_registration,
+);