about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-30 15:24:57 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-30 15:24:57 +0100
commit4a2347da41278999c0e7441bcd7c5a42a67ba0ee (patch)
treec60a2e860db59ada1b8fd861aaa515b17d10e9ca /db/migrate
parentff21ff1489afd6a16d52acc05a71bd58abc401ac (diff)
Track successful PuSH deliveries
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20161130142058_add_last_successful_delivery_at_to_subscriptions.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20161130142058_add_last_successful_delivery_at_to_subscriptions.rb b/db/migrate/20161130142058_add_last_successful_delivery_at_to_subscriptions.rb
new file mode 100644
index 000000000..614155b91
--- /dev/null
+++ b/db/migrate/20161130142058_add_last_successful_delivery_at_to_subscriptions.rb
@@ -0,0 +1,5 @@
+class AddLastSuccessfulDeliveryAtToSubscriptions < ActiveRecord::Migration[5.0]
+  def change
+    add_column :subscriptions, :last_successful_delivery_at, :datetime, null: true, default: nil
+  end
+end