Przeglądaj źródła

Add reminder datetime and done-flag

Maarten van den Berg 7 lat temu
rodzic
commit
2c0f4c5d88

+ 6 - 0
db/migrate/20170917093221_add_reminder_to_activities.rb

@@ -0,0 +1,6 @@
1
+class AddReminderToActivities < ActiveRecord::Migration[5.0]
2
+  def change
3
+    add_column :activities, :reminder_at, :datetime
4
+    add_column :activities, :reminder_done, :boolean
5
+  end
6
+end