increase hole max char limit from 20 to 25

master
Aevann1 2022-08-11 15:34:56 +02:00
parent b2c8bacd58
commit 67f223536c
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ marsey_regex = re.compile("[a-z0-9]{1,30}", flags=re.A)
tags_regex = re.compile("[a-z0-9: ]{1,200}", flags=re.A)
valid_sub_regex = re.compile("^[a-zA-Z0-9_\-]{3,20}$", flags=re.A)
valid_sub_regex = re.compile("^[a-zA-Z0-9_\-]{3,25}$", flags=re.A)
query_regex = re.compile("(\w+):(\S+)", flags=re.A)

View File

@ -713,7 +713,7 @@ ALTER SEQUENCE public.submissions_id_seq OWNED BY public.submissions.id;
--
CREATE TABLE public.subs (
name character varying(20) NOT NULL,
name character varying(25) NOT NULL,
sidebar character varying(10000),
sidebar_html character varying(20000),
sidebarurl character varying(60),