Skip to content

Commit e881e06

Browse files
committed
[!] schema.sql: slot status max length
1 parent 27f1c8c commit e881e06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/create_schema.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ CREATE INDEX account_owner ON account (owner);
2222
CREATE INDEX account_slot ON account (slot);
2323

2424
-- The table storing slot information
25+
-- Longest for status: first_shred_received (20 chars)
2526
CREATE TABLE slot (
2627
slot BIGINT PRIMARY KEY,
2728
parent BIGINT,
28-
status VARCHAR(16) NOT NULL,
29+
status VARCHAR(20) NOT NULL,
2930
updated_on TIMESTAMP NOT NULL
3031
);
3132

0 commit comments

Comments
 (0)