1
0
Fork 0
mirror of https://codeberg.org/Mo8it/git-webhook-client synced 2024-11-24 11:21:36 +00:00
git-webhook-client/migrations/2022-10-11-151321_create_history/up.sql
2022-12-26 23:43:44 +01:00

10 lines
271 B
SQL

CREATE TABLE hooklog (
id INTEGER NOT NULL PRIMARY KEY,
datetime TEXT NOT NULL,
clone_url TEXT NOT NULL,
command_with_args TEXT NOT NULL,
current_dir TEXT NOT NULL,
stdout TEXT,
stderr TEXT,
status_code INTEGER CHECK (status_code >= 0)
);