From 9fb64fe1519512308764bce7056250751ae4f32f Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Wed, 30 Aug 2023 01:08:15 +0900
Subject: Add is_video column to photos table

---
 deploy/photos.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'deploy/photos.sql')

diff --git a/deploy/photos.sql b/deploy/photos.sql
index 8c1a700..a14f480 100644
--- a/deploy/photos.sql
+++ b/deploy/photos.sql
@@ -9,6 +9,7 @@ CREATE TABLE photos(
   id UUID PRIMARY KEY,
   path TEXT NOT NULL UNIQUE,
   date DATE NOT NULL,
+  is_video BOOLEAN NOT NULL,
   is_receipt BOOLEAN NOT NULL DEFAULT FALSE,
   note TEXT CHECK (note <> ''),
   taken_at TIME,
-- 
cgit v1.2.3

