summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorBrendan Deere <brendan@stembolt.com>2017-01-11 15:52:57 -0800
committerBrendan Deere <brendan@stembolt.com>2017-01-12 15:43:15 -0800
commit02fbb605d4825e5dbc6bc7df4db39c01511ddf14 (patch)
tree7c89297ce8418144158e2ae8261bd040bb4a22d6 /db
parentc11fad93d597fc52cf13eb2e2577471b3038601e (diff)
Installment#actionable_date is a DateTime
Increase actionable date granularity by tracking it as a date time
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170111232801_change_inteval_actionable_date_to_datetime.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170111232801_change_inteval_actionable_date_to_datetime.rb b/db/migrate/20170111232801_change_inteval_actionable_date_to_datetime.rb
new file mode 100644
index 0000000..d33b6a5
--- /dev/null
+++ b/db/migrate/20170111232801_change_inteval_actionable_date_to_datetime.rb
@@ -0,0 +1,5 @@
+class ChangeIntevalActionableDateToDatetime < ActiveRecord::Migration
+ def change
+ change_column :solidus_subscriptions_installments, :actionable_date, :datetime
+ end
+end