From 83963bd8a7ee906b93e24afea53516bc7f19afd1 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Tue, 10 Oct 2023 19:16:06 +0300
Subject: feat: add is_disabled to chapters itself (#112)

Former-commit-id: 86a6b1564e835d6c637144bf313a9cdec2fc4207
---
 backend/database/init.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'backend/database/init.sql')

diff --git a/backend/database/init.sql b/backend/database/init.sql
index 17a0ce5..9851ad7 100644
--- a/backend/database/init.sql
+++ b/backend/database/init.sql
@@ -23,6 +23,7 @@ CREATE TABLE chapters (
   id SERIAL,
   game_id SMALLINT NOT NULL,
   name TEXT NOT NULL,
+  is_disabled BOOLEAN NOT NULL DEFAULT false,
   PRIMARY KEY (id),
   FOREIGN KEY (game_id) REFERENCES games(id)
 );
-- 
cgit v1.2.3

