mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-19 12:48:51 -05:00
9 lines
238 B
Plaintext
9 lines
238 B
Plaintext
import 'resources.drift';
|
|
|
|
CREATE TABLE IF NOT EXISTS trashed_resources(
|
|
id TEXT NOT NULL PRIMARY KEY REFERENCES resources
|
|
);
|
|
|
|
|
|
selectTrash: SELECT r.* FROM trashed_resources t JOIN resources r ON t.id = r.id ORDER BY r.deleted DESC;
|