* Push Notification Setup and attempt

* Office Ordering
* Allow editing of Task and Ticket Details after creation
This commit is contained in:
2026-02-24 21:06:46 +08:00
parent cc6fda0e79
commit 5979a04254
25 changed files with 1130 additions and 91 deletions
@@ -0,0 +1,8 @@
-- drop unique index to allow multiple entries (e.g. same token across
-- device logins) for a single user. the application already keeps tokens
-- tidy by unregistering on sign-out, so duplicates are harmless.
drop index if exists fcm_tokens_user_token_idx;
-- maintain a regular index on user_id for performance
create index if not exists fcm_tokens_user_idx on public.fcm_tokens(user_id);