increased username allowed length

This commit is contained in:
simplypower-bbj
2022-12-17 01:29:18 +01:00
parent 1041828256
commit 7f2268605a
+1 -1
View File
@@ -131,7 +131,7 @@ class Data_table(Table):
f'CREATE TABLE {self._name} ' f'CREATE TABLE {self._name} '
'(' '('
'id SERIAL PRIMARY KEY, ' 'id SERIAL PRIMARY KEY, '
'username VARCHAR(15) NOT NULL, ' 'username VARCHAR(150) NOT NULL, '
'time TIMESTAMPTZ NOT NULL, ' 'time TIMESTAMPTZ NOT NULL, '
'content TEXT NOT NULL, ' 'content TEXT NOT NULL, '
'UNIQUE (username, time, content) ' 'UNIQUE (username, time, content) '