summaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/schema.rs b/src/schema.rs
index efa9ddcc..84bf5bab 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -3,9 +3,10 @@ table! {
id -> Int8,
client_id -> Text,
user_id -> Int8,
- mac -> Varchar,
+ hostname -> Text,
timestamp -> Timestamp,
data -> Varchar,
+ created_at -> Timestamp,
}
}
@@ -20,6 +21,7 @@ table! {
table! {
users (id) {
id -> Int8,
+ username -> Varchar,
email -> Varchar,
password -> Varchar,
}