diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2023-08-30 00:19:17 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2023-10-13 02:12:48 +0900 |
commit | b6d633011163002c2923f3809cd5ead2c53e2aa3 (patch) | |
tree | 292cdcf7a5ca96b059c6dd7b751104e48f11cef3 /revert | |
parent | 6d6f4546b0cda266e6f5e6f2cda783da985dfb00 (diff) |
Add update_timestamp trigger to photos table
Diffstat (limited to 'revert')
-rw-r--r-- | revert/photos_update_timestamp.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/revert/photos_update_timestamp.sql b/revert/photos_update_timestamp.sql new file mode 100644 index 0000000..9e5561d --- /dev/null +++ b/revert/photos_update_timestamp.sql @@ -0,0 +1,9 @@ +-- Revert photos:photos_update_timestamp from pg + +BEGIN; + +SET search_path to photos; + +DROP TRIGGER update_timestamp ON photos; + +COMMIT; |