From 9e80b8cd1e44fcf863d926055d9fa458db46e0d3 Mon Sep 17 00:00:00 2001
From: Joel Klinghed <the_jk@spawned.biz>
Date: Sun, 26 Jan 2025 21:58:42 +0100
Subject: 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.
---
 server/migrations/1_initial_eyeballs.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'server/migrations/1_initial_eyeballs.sql')

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)
-- 
cgit v1.2.3-70-g09d2

