IO-1551 Refactor messaging.

This commit is contained in:
Patrick Fic
2021-12-08 12:38:26 -08:00
parent 26d22388c0
commit 1f7b53ee22
30 changed files with 614 additions and 302 deletions

View File

@@ -1172,11 +1172,12 @@
- active:
_eq: true
columns:
- id
- created_at
- updated_at
- bodyshopid
- created_at
- id
- phone_num
- unreadcnt
- updated_at
select_permissions:
- role: user
permission:
@@ -1186,6 +1187,7 @@
- created_at
- id
- phone_num
- unreadcnt
- updated_at
filter:
bodyshop:
@@ -1206,6 +1208,7 @@
- created_at
- id
- phone_num
- unreadcnt
- updated_at
filter:
bodyshop:

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."conversations" add column "unreadcnt" numeric
-- not null default '0';

View File

@@ -0,0 +1,2 @@
alter table "public"."conversations" add column "unreadcnt" numeric
not null default '0';