killbill-uncached

account: Update V20171108184350__reference_time.sql to

12/6/2017 5:26:15 PM

Details

diff --git a/account/src/main/resources/org/killbill/billing/account/migration/V20171108184350__reference_time.sql b/account/src/main/resources/org/killbill/billing/account/migration/V20171108184350__reference_time.sql
index 7e3db7c..68d8e2a 100644
--- a/account/src/main/resources/org/killbill/billing/account/migration/V20171108184350__reference_time.sql
+++ b/account/src/main/resources/org/killbill/billing/account/migration/V20171108184350__reference_time.sql
@@ -1,2 +1,4 @@
 alter table accounts add column reference_time datetime NOT NULL after payment_method_id;
 alter table account_history add column reference_time datetime NOT NULL after payment_method_id;
+update accounts set reference_time = created_date;
+update account_history set reference_time = created_date;
\ No newline at end of file