From 43031817816d3b378b6bb028887d312291e86f6f Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Wed, 22 Nov 2017 12:39:14 +0200 Subject: [PATCH] Add created_at column to pull_requests table --- resources/migrations/20171122123809-pr-created-at.down.sql | 0 resources/migrations/20171122123809-pr-created-at.up.sql | 1 + 2 files changed, 1 insertion(+) create mode 100644 resources/migrations/20171122123809-pr-created-at.down.sql create mode 100644 resources/migrations/20171122123809-pr-created-at.up.sql diff --git a/resources/migrations/20171122123809-pr-created-at.down.sql b/resources/migrations/20171122123809-pr-created-at.down.sql new file mode 100644 index 0000000..e69de29 diff --git a/resources/migrations/20171122123809-pr-created-at.up.sql b/resources/migrations/20171122123809-pr-created-at.up.sql new file mode 100644 index 0000000..de7e2db --- /dev/null +++ b/resources/migrations/20171122123809-pr-created-at.up.sql @@ -0,0 +1 @@ +ALTER TABLE "public"."pull_requests" ADD COLUMN "created_at" timestamp without time zone DEFAULT timezone('utc'::text, now());