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

11 lines
271 B
MySQL
Raw Normal View History

2022-10-11 18:39:10 +00:00
CREATE TABLE hooklog (
2022-10-12 14:22:13 +00:00
id INTEGER NOT NULL PRIMARY KEY,
datetime TEXT NOT NULL,
2022-12-26 22:43:44 +00:00
clone_url TEXT NOT NULL,
2022-10-12 14:22:13 +00:00
command_with_args TEXT NOT NULL,
current_dir TEXT NOT NULL,
2022-10-22 22:08:28 +00:00
stdout TEXT,
stderr TEXT,
2022-10-12 14:22:13 +00:00
status_code INTEGER CHECK (status_code >= 0)
2022-10-11 18:39:10 +00:00
);