Store audit engagement dates as DATE columns

Match valid_from and valid_until on audits and the console
date-only inputs for audit start and end.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-07-28 15:10:14 +00:00
committed by Bryan Frimin
parent f8f5152566
commit c7b1562d26

View File

@@ -18,5 +18,5 @@
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
ALTER TABLE audits ADD COLUMN audit_start_date TIMESTAMP WITH TIME ZONE;
ALTER TABLE audits ADD COLUMN audit_end_date TIMESTAMP WITH TIME ZONE;
ALTER TABLE audits ADD COLUMN audit_start_date DATE;
ALTER TABLE audits ADD COLUMN audit_end_date DATE;