From 90f232a06dc21011299e49521d31b8c969f68ea1 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sat, 21 May 2022 12:44:21 -0400 Subject: [PATCH] fix migrations --- migrations/000002_create_devices.up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/000002_create_devices.up.sql b/migrations/000002_create_devices.up.sql index 099dfbf..1bcaf18 100644 --- a/migrations/000002_create_devices.up.sql +++ b/migrations/000002_create_devices.up.sql @@ -4,7 +4,7 @@ CREATE TABLE devices ( id SERIAL PRIMARY KEY, apns_token character varying(100) UNIQUE, sandbox boolean, - active_until integer, - grace_period_until integer + expires_at timestamp without time zone, + grace_period_expires_at timestamp without time zone );