initial commit

This commit is contained in:
Georg Bauer
2026-07-24 11:27:25 +02:00
commit 2e1de825ab
23 changed files with 6169 additions and 0 deletions

18
src/schema.rs Normal file
View File

@@ -0,0 +1,18 @@
diesel::table! {
projects (id) {
id -> Integer,
name -> Text,
path -> Text,
}
}
diesel::table! {
sessions (id) {
id -> Integer,
project_id -> Integer,
title -> Text,
}
}
diesel::joinable!(sessions -> projects (project_id));
diesel::allow_tables_to_appear_in_same_query!(projects, sessions);