1
0
Fork 0
mirror of https://codeberg.org/Mo8it/git-webhook-client synced 2024-11-21 11:06:32 +00:00

Use TEXT instead of VARCHAR

This commit is contained in:
Mo 2022-10-12 15:41:54 +02:00
parent 8347d0a391
commit 5b057d7cfa

View file

@ -1,8 +1,8 @@
CREATE TABLE hooklog ( CREATE TABLE hooklog (
id INTEGER NOT NULL PRIMARY KEY, id INTEGER NOT NULL PRIMARY KEY,
repo_url VARCHAR(300) NOT NULL, repo_url TEXT NOT NULL,
command_with_args TEXT NOT NULL, command_with_args TEXT NOT NULL,
current_dir VARCHAR(300) NOT NULL, current_dir TEXT NOT NULL,
stdout TEXT NOT NULL, stdout TEXT NOT NULL,
stderr TEXT NOT NULL, stderr TEXT NOT NULL,
status_code INTEGER CHECK (status_code >= 0) status_code INTEGER CHECK (status_code >= 0)