@@ -83,12 +83,11 @@ psql -U user database < name_file.sql
### Trouver les mails non envoyés
```psql
maarchcourrier=# select alt_identifier from mlb_coll_ext where res_id in (select DISTINCT CAST(document->>'id' as int) from emails where status = 'ERROR' and document->>'id' is not null);
=# select alt_identifier from mlb_coll_ext where res_id in (select DISTINCT CAST(document->>'id' as int)
from emails where status = 'ERROR' and document->>'id' is not null);
```
```psql
psql VOTREBDD
select fulltext_result FROM res_letterbox where fulltex_result is not null
```
...
...
@@ -124,7 +123,6 @@ ou
```psql
$ select * from users where firstname ilike '%lanie%';
```
ou
```psql
...
...
@@ -145,6 +143,8 @@ $ update notif_email_stack set exec_date=NULL, exec_result='';
### Remettre un utilisateur supprimé (de manière logique en actif)