Closed hungphan227 closed 7 months ago
Table structure:
CREATE TABLE label_change ( account_id TEXT, state UUID, created TEXT[], updated TEXT[], destroyed TEXT[], created_date TIMESTAMP PRIMARY KEY (account_id, state) );
Notes: need to handle row TTL (same as MaiboxChange and EmailChange concern), state column uses UUID v7
need RLS
Pass contract
DAO + PostgresLabelChangeRepository + Guice bindings
Write example script for TTL
https://github.com/linagora/tmail-backend/pull/961
How
Table structure:
Notes: need to handle row TTL (same as MaiboxChange and EmailChange concern), state column uses UUID v7
need RLS
DoD
Pass contract