summaryrefslogtreecommitdiff
path: root/server/migrations/1_initial_eyeballs.sql
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-01-26 21:58:42 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-01-26 21:58:42 +0100
commit9e80b8cd1e44fcf863d926055d9fa458db46e0d3 (patch)
tree1fd262ac79127e60d91f9e7efac9702ec3058cdb /server/migrations/1_initial_eyeballs.sql
parent42334c32226f0ff3248d6d0c7641b7170ca962ce (diff)
Add basic git support
Pushing a commit to a new branch creates a review. Each project has its own git directory, with githooks installed that talkes with server process via unix sockets.
Diffstat (limited to 'server/migrations/1_initial_eyeballs.sql')
-rw-r--r--server/migrations/1_initial_eyeballs.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/migrations/1_initial_eyeballs.sql b/server/migrations/1_initial_eyeballs.sql
index 6dcd8f1..3f31781 100644
--- a/server/migrations/1_initial_eyeballs.sql
+++ b/server/migrations/1_initial_eyeballs.sql
@@ -40,6 +40,7 @@ CREATE TABLE IF NOT EXISTS reviews (
progress FLOAT NOT NULL DEFAULT 0,
branch VARCHAR(1024) NOT NULL,
archived BOOLEAN NOT NULL DEFAULT 0,
+ rewrite TINYINT UNSIGNED NOT NULL DEFAULT 0,
CONSTRAINT `fk_reviews_project`
FOREIGN KEY (project) REFERENCES projects (id)