mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Refactor appointment model and views to use a single date field; update tooltip and calendar display for improved functionality
This commit is contained in:
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
|
||||
Reference in new issue
Block a user