diff options
Diffstat (limited to 'revert/photos.sql')
-rw-r--r-- | revert/photos.sql | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/revert/photos.sql b/revert/photos.sql index 7fb3606..9fccf7e 100644 --- a/revert/photos.sql +++ b/revert/photos.sql @@ -1,9 +1,11 @@ --- Revert photos:photos from pg +-- Deploy photos:photos to pg +-- requires: schema BEGIN; SET search_path to photos; -DROP TABLE photos; +ALTER TABLE photos + ALTER COLUMN taken_at TYPE time USING (taken_at AT TIME ZONE 'Asia/Tokyo')::time; COMMIT; |