@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 CHANGED
@@ -1076,13 +1076,13 @@ CREATE TABLE IF NOT EXISTS api_keys (
1076
1076
  CREATE TABLE IF NOT EXISTS events (
1077
1077
  _id TEXT PRIMARY KEY,
1078
1078
  type TEXT NOT NULL CHECK (type IN ('create', 'update', 'delete')),
1079
- timestamp INTEGER NOT NULL,
1079
+ timestamp BIGINT NOT NULL,
1080
1080
  fileId TEXT NOT NULL,
1081
1081
  status TEXT NOT NULL DEFAULT 'pending' CHECK (status IN ('pending', 'processing', 'processed', 'failed')),
1082
1082
  retryCount INTEGER NOT NULL DEFAULT 0,
1083
1083
  lastError TEXT,
1084
- lockedAt INTEGER,
1085
- nextRetryAt INTEGER,
1084
+ lockedAt BIGINT,
1085
+ nextRetryAt BIGINT,
1086
1086
  userOpHash TEXT,
1087
1087
  pendingPayload TEXT,
1088
1088
  portalAddress TEXT
@@ -1103,8 +1103,8 @@ CREATE TABLE IF NOT EXISTS folders (
1103
1103
  contentIPFSHash TEXT NOT NULL,
1104
1104
  isDeleted INTEGER NOT NULL DEFAULT 0,
1105
1105
  lastTransactionHash TEXT,
1106
- lastTransactionBlockNumber INTEGER NOT NULL,
1107
- lastTransactionBlockTimestamp INTEGER NOT NULL,
1106
+ lastTransactionBlockNumber BIGINT NOT NULL,
1107
+ lastTransactionBlockTimestamp BIGINT NOT NULL,
1108
1108
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
1109
1109
  updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
1110
1110
  );