@fileverse/api 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +5 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/index.js +5 -5
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/worker.js +5 -5
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3541,13 +3541,13 @@ CREATE TABLE IF NOT EXISTS api_keys (
|
|
|
3541
3541
|
CREATE TABLE IF NOT EXISTS events (
|
|
3542
3542
|
_id TEXT PRIMARY KEY,
|
|
3543
3543
|
type TEXT NOT NULL CHECK (type IN ('create', 'update', 'delete')),
|
|
3544
|
-
timestamp
|
|
3544
|
+
timestamp BIGINT NOT NULL,
|
|
3545
3545
|
fileId TEXT NOT NULL,
|
|
3546
3546
|
status TEXT NOT NULL DEFAULT 'pending' CHECK (status IN ('pending', 'processing', 'processed', 'failed')),
|
|
3547
3547
|
retryCount INTEGER NOT NULL DEFAULT 0,
|
|
3548
3548
|
lastError TEXT,
|
|
3549
|
-
lockedAt
|
|
3550
|
-
nextRetryAt
|
|
3549
|
+
lockedAt BIGINT,
|
|
3550
|
+
nextRetryAt BIGINT,
|
|
3551
3551
|
userOpHash TEXT,
|
|
3552
3552
|
pendingPayload TEXT,
|
|
3553
3553
|
portalAddress TEXT
|
|
@@ -3568,8 +3568,8 @@ CREATE TABLE IF NOT EXISTS folders (
|
|
|
3568
3568
|
contentIPFSHash TEXT NOT NULL,
|
|
3569
3569
|
isDeleted INTEGER NOT NULL DEFAULT 0,
|
|
3570
3570
|
lastTransactionHash TEXT,
|
|
3571
|
-
lastTransactionBlockNumber
|
|
3572
|
-
lastTransactionBlockTimestamp
|
|
3571
|
+
lastTransactionBlockNumber BIGINT NOT NULL,
|
|
3572
|
+
lastTransactionBlockTimestamp BIGINT NOT NULL,
|
|
3573
3573
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
3574
3574
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
3575
3575
|
);
|