Skip to content

Commit

Permalink
raise receipt length limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Govorunb committed Jun 15, 2024
1 parent 86711be commit f4cca1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebs/src/util/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function initDb() {
export async function setupDb() {
await db.query(`
CREATE TABLE IF NOT EXISTS transactions (
receipt VARCHAR(255) PRIMARY KEY,
receipt VARCHAR(1024) PRIMARY KEY,
token VARCHAR(255) NOT NULL,
userId VARCHAR(255) NOT NULL
);
Expand Down

0 comments on commit f4cca1e

Please sign in to comment.