diff options
Diffstat (limited to 'fun/tvldb/src/schema.rs')
-rw-r--r-- | fun/tvldb/src/schema.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fun/tvldb/src/schema.rs b/fun/tvldb/src/schema.rs new file mode 100644 index 000000000000..ef4044531ee7 --- /dev/null +++ b/fun/tvldb/src/schema.rs @@ -0,0 +1,18 @@ +table! { + entries (id) { + id -> Int4, + keyword_id -> Int4, + idx -> Int4, + text -> Varchar, + creation_ts -> Timestamp, + created_by -> Varchar, + } +} + +table! { + keywords (id) { + id -> Int4, + name -> Varchar, + chan -> Varchar, + } +} |