mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Calendar feed: due items (inspections, ADs, component limits, documents) as a private iCalendar link, hour-based dates projected from the past year's flying
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
87e30946fe
commit
98e943cf0a
14 files changed
+266
-7
No files matched your search
@@ -0,0 +1,7 @@
|
||||
class AddCalendarTokenToUsers < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
# Secret for the user's calendar feed URL (calendar apps can't sign in).
|
||||
add_column :users, :calendar_token, :string
|
||||
add_index :users, :calendar_token, unique: true
|
||||
end
|
||||
end
|
||||
Generated
+3
-1
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_11_11_010000) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_11_11_020000) do
|
||||
create_table "active_storage_attachments", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.string "record_type", null: false
|
||||
@@ -814,6 +814,8 @@ ActiveRecord::Schema[8.1].define(version: 2026_11_11_010000) do
|
||||
t.datetime "otp_enabled_at"
|
||||
t.integer "otp_last_used_at"
|
||||
t.json "otp_recovery_codes"
|
||||
t.string "calendar_token"
|
||||
t.index ["calendar_token"], name: "index_users_on_calendar_token", unique: true
|
||||
t.index ["email_address"], name: "index_users_on_email_address", unique: true
|
||||
t.index ["sso_uid"], name: "index_users_on_sso_uid", unique: true
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user