summaryrefslogtreecommitdiff
path: root/src/db/storytag.rs
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2024-10-26 23:31:37 +0200
committerWriterV2 <primary-v2@protonmail.com>2024-10-26 23:31:37 +0200
commit264e5ff691e0283e639dc70a1191b13053ccdf5c (patch)
tree825e4d349d776ee6207317d0416e6fbf91c865ba /src/db/storytag.rs
parentaebd01540cc09724f68366709281d2350f758f8c (diff)
Feat: Add initial entities
Diffstat (limited to 'src/db/storytag.rs')
-rw-r--r--src/db/storytag.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/storytag.rs b/src/db/storytag.rs
new file mode 100644
index 0000000..0953fc2
--- /dev/null
+++ b/src/db/storytag.rs
@@ -0,0 +1,5 @@
+#[derive(Debug, serde::Serialize, sqlx::FromRow)]
+pub struct Storytag {
+ pub sid: i64,
+ pub tgid: i64,
+}