Refactor appointment model and views to use a single date field; update tooltip and calendar display for improved functionality

This commit is contained in:
ricky committed 2026-08-07 21:20:46 -04:00
1 parent 88a40b356c
commit 86533981bc
8 files changed
+66 -76

No files matched your search

@@ -15,8 +15,7 @@ class CreateCustomerAppointments < ActiveRecord::Migration[7.0]
t.text :subject, null: false
t.text :description, null: false
t.datetime :start_date, null: false
t.datetime :end_date
t.datetime :date, null: false
t.integer :duration, default: 1
t.integer :estimated_hours, default: 1
@@ -31,7 +30,7 @@ class CreateCustomerAppointments < ActiveRecord::Migration[7.0]
end
add_index :customer_appointments, :start_date
add_index :customer_appointments, :date
end
end