@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.
@@ -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 INTEGER NOT NULL,
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 INTEGER,
1405
- nextRetryAt INTEGER,
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 INTEGER NOT NULL,
1427
- lastTransactionBlockTimestamp INTEGER NOT NULL,
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
  );