feat: Implement list info, and drop commands
Save Sync now has persistent storage. Currently, you can add new Saves, Remove them, and get info about them. The part of CRUD that is remaining is Update. Documentation needs to be written, a lot of the public API changed.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE game_file (
|
||||
id INTEGER PRIMARY KEY,
|
||||
original_path BLOB NOT NULL, -- TEXT assumes a Unicode Encoding
|
||||
file_hash INTEGER NOT NULL, -- u64, but that's not
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
original_path TEXT NOT NULL, -- TEXT assumes a Unicode Encoding
|
||||
file_hash BLOB NOT NULL,
|
||||
game_save_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (game_save_id) REFERENCES game_save_location (id)
|
||||
)
|
||||
Reference in New Issue
Block a user