Support File Move Operations with Watcher Refactor for Accurate Tracking
This commit is contained in:
committed by
Aditya Chandel
parent
1c9c09628a
commit
841e359b92
+10
@@ -0,0 +1,10 @@
|
||||
ALTER TABLE book
|
||||
ADD COLUMN initial_hash TEXT,
|
||||
ADD COLUMN current_hash TEXT,
|
||||
ADD COLUMN deleted BOOLEAN DEFAULT FALSE,
|
||||
ADD COLUMN deleted_at TIMESTAMP;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_book_initial_hash ON book(initial_hash(255));
|
||||
CREATE INDEX IF NOT EXISTS idx_book_current_hash ON book(current_hash(255));
|
||||
CREATE INDEX IF NOT EXISTS idx_book_deleted ON book(deleted);
|
||||
CREATE INDEX IF NOT EXISTS idx_book_deleted_at ON book(deleted_at);
|
||||
Reference in New Issue
Block a user