Struktura tabeli - BLACK_LIST_PREFIXES
Tabela przechowuje wpisy czarnej listy, które blokują możliwość kontaktu (telefonicznego, SMS lub e-mail) dla określonych numerów lub adresów.
| Lp. | Nazwa | Typ | Opis |
|---|---|---|---|
| 1 | id | integer | unikalny identyfikator wpisu |
| 2 | customers_id | integer | identyfikator klienta w systemie Welyo |
| 3 | campaigns_id | integer | identyfikator kampanii, której dotyczy wpis |
| 4 | prefix | varchar | numer telefonu lub adres e-mail objęty blokadą |
| 5 | created_at | timestamp | data i czas dodania wpisu |
| 6 | whitelisted | boolean | informacja, czy wpis jest wyjątkiem (true – wyklucza prefix z reguły blokującej) |
| 7 | type | text | typ blokady (sms, phone, mail) |
| 8 | comment | text | komentarz do wpisu |
| 9 | deleted_at | timestamp | data i czas usunięcia wpisu |
| 10 | synchronized_at | timestamp | data i czas synchronizacji danych do ODBC |