Skip to content

Commit 62e6618

Browse files
committed
Use 255 chars for node values.
1 parent c5b803e commit 62e6618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/database/mariadb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (m *MariaDB) InitializeSchema() error {
6161
_, err = m.db.ExecContext(context.Background(), `
6262
CREATE TABLE IF NOT EXISTS assets (
6363
id BIGINT UNSIGNED NOT NULL,
64-
value VARCHAR(4096) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
64+
value VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
6565
type VARCHAR(255) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
6666
6767
CONSTRAINT pk_asset PRIMARY KEY (id),

0 commit comments

Comments
 (0)