From 04611bd0660c1dfd290c19409cfc253d81fb0544 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Wed, 30 Aug 2023 00:32:58 +0900
Subject: Add date 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 714f3b0..c451146 100644
--- a/deploy/photos.sql
+++ b/deploy/photos.sql
@@ -9,6 +9,7 @@ SET search_path to photos;
 CREATE TABLE photos(
   id UUID PRIMARY KEY,
   path TEXT NOT NULL,
+  date DATE NOT NULL,
   is_receipt BOOLEAN NOT NULL DEFAULT FALSE,
   note TEXT CHECK (note <> ''),
   taken_at TIME,
-- 
cgit v1.2.3

