@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/commands/index.js
CHANGED
|
@@ -1396,13 +1396,13 @@ CREATE TABLE IF NOT EXISTS api_keys (
|
|
|
1396
1396
|
CREATE TABLE IF NOT EXISTS events (
|
|
1397
1397
|
_id TEXT PRIMARY KEY,
|
|
1398
1398
|
type TEXT NOT NULL CHECK (type IN ('create', 'update', 'delete')),
|
|
1399
|
-
timestamp
|
|
1399
|
+
timestamp BIGINT NOT NULL,
|
|
1400
1400
|
fileId TEXT NOT NULL,
|
|
1401
1401
|
status TEXT NOT NULL DEFAULT 'pending' CHECK (status IN ('pending', 'processing', 'processed', 'failed')),
|
|
1402
1402
|
retryCount INTEGER NOT NULL DEFAULT 0,
|
|
1403
1403
|
lastError TEXT,
|
|
1404
|
-
lockedAt
|
|
1405
|
-
nextRetryAt
|
|
1404
|
+
lockedAt BIGINT,
|
|
1405
|
+
nextRetryAt BIGINT,
|
|
1406
1406
|
userOpHash TEXT,
|
|
1407
1407
|
pendingPayload TEXT,
|
|
1408
1408
|
portalAddress TEXT
|
|
@@ -1423,8 +1423,8 @@ CREATE TABLE IF NOT EXISTS folders (
|
|
|
1423
1423
|
contentIPFSHash TEXT NOT NULL,
|
|
1424
1424
|
isDeleted INTEGER NOT NULL DEFAULT 0,
|
|
1425
1425
|
lastTransactionHash TEXT,
|
|
1426
|
-
lastTransactionBlockNumber
|
|
1427
|
-
lastTransactionBlockTimestamp
|
|
1426
|
+
lastTransactionBlockNumber BIGINT NOT NULL,
|
|
1427
|
+
lastTransactionBlockTimestamp BIGINT NOT NULL,
|
|
1428
1428
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
1429
1429
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
1430
1430
|
);
|