Add euph_trees todo
This commit is contained in:
parent
a50f81f9b3
commit
32bb9898dc
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ use rusqlite::Connection;
|
||||||
|
|
||||||
pub fn prepare(conn: &mut Connection) -> rusqlite::Result<()> {
|
pub fn prepare(conn: &mut Connection) -> rusqlite::Result<()> {
|
||||||
println!("Opening vault");
|
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(
|
conn.execute_batch(
|
||||||
"
|
"
|
||||||
CREATE TEMPORARY TABLE euph_trees (
|
CREATE TEMPORARY TABLE euph_trees (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue