mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Update videos id size to 11.
This commit is contained in:
parent
dc7801b4d3
commit
96819a51c6
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
--rollback DROP INDEX IF EXISTS users_session_id_idx;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS videos (
|
CREATE TABLE IF NOT EXISTS videos (
|
||||||
id VARCHAR(16) NOT NULL UNIQUE,
|
id VARCHAR(11) NOT NULL UNIQUE,
|
||||||
duration INT8 NULL,
|
duration INT8 NULL,
|
||||||
thumbnail VARCHAR(400) NULL,
|
thumbnail VARCHAR(400) NULL,
|
||||||
title VARCHAR(120) NULL,
|
title VARCHAR(120) NULL,
|
||||||
|
|
|
@ -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;
|
--rollback DROP INDEX IF EXISTS users_session_id_idx;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS videos (
|
CREATE TABLE IF NOT EXISTS videos (
|
||||||
id VARCHAR(16) NOT NULL UNIQUE,
|
id VARCHAR(11) NOT NULL UNIQUE,
|
||||||
duration INT8 NULL,
|
duration INT8 NULL,
|
||||||
thumbnail VARCHAR(400) NULL,
|
thumbnail VARCHAR(400) NULL,
|
||||||
title VARCHAR(120) NULL,
|
title VARCHAR(120) NULL,
|
||||||
|
|
Loading…
Reference in a new issue