@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/worker.js
CHANGED
|
@@ -3361,13 +3361,13 @@ CREATE TABLE IF NOT EXISTS api_keys (
|
|
|
3361
3361
|
CREATE TABLE IF NOT EXISTS events (
|
|
3362
3362
|
_id TEXT PRIMARY KEY,
|
|
3363
3363
|
type TEXT NOT NULL CHECK (type IN ('create', 'update', 'delete')),
|
|
3364
|
-
timestamp
|
|
3364
|
+
timestamp BIGINT NOT NULL,
|
|
3365
3365
|
fileId TEXT NOT NULL,
|
|
3366
3366
|
status TEXT NOT NULL DEFAULT 'pending' CHECK (status IN ('pending', 'processing', 'processed', 'failed')),
|
|
3367
3367
|
retryCount INTEGER NOT NULL DEFAULT 0,
|
|
3368
3368
|
lastError TEXT,
|
|
3369
|
-
lockedAt
|
|
3370
|
-
nextRetryAt
|
|
3369
|
+
lockedAt BIGINT,
|
|
3370
|
+
nextRetryAt BIGINT,
|
|
3371
3371
|
userOpHash TEXT,
|
|
3372
3372
|
pendingPayload TEXT,
|
|
3373
3373
|
portalAddress TEXT
|
|
@@ -3388,8 +3388,8 @@ CREATE TABLE IF NOT EXISTS folders (
|
|
|
3388
3388
|
contentIPFSHash TEXT NOT NULL,
|
|
3389
3389
|
isDeleted INTEGER NOT NULL DEFAULT 0,
|
|
3390
3390
|
lastTransactionHash TEXT,
|
|
3391
|
-
lastTransactionBlockNumber
|
|
3392
|
-
lastTransactionBlockTimestamp
|
|
3391
|
+
lastTransactionBlockNumber BIGINT NOT NULL,
|
|
3392
|
+
lastTransactionBlockTimestamp BIGINT NOT NULL,
|
|
3393
3393
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
3394
3394
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
3395
3395
|
);
|