aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-05 09:24:51 +0300
committerGravatar Vitaly Takmazov2024-10-05 09:24:51 +0300
commit878327ccd0de1794ca5d19f82ef53687b7e19160 (patch)
tree3a387ff8d50cf208c255f6af57141f32b30eeb1c /src/main/resources/db
parent63bd3dc532d20143b70adef1fff6c929fb524304 (diff)
db: Add `created_at` field to `emails` table
Diffstat (limited to 'src/main/resources/db')
-rw-r--r--src/main/resources/db/migration/V1.50__email_created_at.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/db/migration/V1.50__email_created_at.sql b/src/main/resources/db/migration/V1.50__email_created_at.sql
new file mode 100644
index 00000000..aa5b3f4b
--- /dev/null
+++ b/src/main/resources/db/migration/V1.50__email_created_at.sql
@@ -0,0 +1 @@
+ALTER TABLE emails ADD COLUMN created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP