Update videos id size to 11.

This commit is contained in:
Kavin 2023-08-14 08:58:03 +01:00
parent dc7801b4d3
commit 96819a51c6
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ CREATE INDEX IF NOT EXISTS users_session_id_idx ON users (session_id ASC) STORIN
--rollback DROP INDEX IF EXISTS users_session_id_idx;
CREATE TABLE IF NOT EXISTS videos (
id VARCHAR(16) NOT NULL UNIQUE,
id VARCHAR(11) NOT NULL UNIQUE,
duration INT8 NULL,
thumbnail VARCHAR(400) NULL,
title VARCHAR(120) NULL,

View File

@ -3,7 +3,7 @@ CREATE INDEX IF NOT EXISTS users_session_id_idx ON users (session_id ASC);
--rollback DROP INDEX IF EXISTS users_session_id_idx;
CREATE TABLE IF NOT EXISTS videos (
id VARCHAR(16) NOT NULL UNIQUE,
id VARCHAR(11) NOT NULL UNIQUE,
duration INT8 NULL,
thumbnail VARCHAR(400) NULL,
title VARCHAR(120) NULL,