2021-03-02 03:30:37 +00:00
|
|
|
-- Your SQL goes here
|
|
|
|
CREATE TABLE game_file (
|
2021-03-03 02:21:57 +00:00
|
|
|
id INTEGER PRIMARY KEY NOT NULL,
|
2021-03-03 03:39:16 +00:00
|
|
|
original_path TEXT NOT NULL UNIQUE, -- TEXT assumes a Unicode Encoding
|
|
|
|
file_hash BLOB NOT NULL UNIQUE,
|
2021-03-02 03:30:37 +00:00
|
|
|
game_save_id INTEGER NOT NULL,
|
|
|
|
FOREIGN KEY (game_save_id) REFERENCES game_save_location (id)
|
|
|
|
)
|