Add euph_trees todo

This commit is contained in:
Joscha 2022-08-01 17:11:32 +02:00
parent a50f81f9b3
commit 32bb9898dc

View file

@ -2,6 +2,9 @@ use rusqlite::Connection;
pub fn prepare(conn: &mut Connection) -> rusqlite::Result<()> {
println!("Opening vault");
// This temporary table has no foreign key constraint on euph_rooms since
// cross-schema constraints like that are not supported by SQLite.
// TODO Remove entries from this table whenever a room is deleted
conn.execute_batch(
"
CREATE TEMPORARY TABLE euph_trees (