chore: add new routes for addresses

This commit is contained in:
2026-02-25 09:55:18 +01:00
parent 03cb05f3a5
commit 1376ce3583
8 changed files with 292 additions and 4 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ func (db *Database) createTables() error {
`CREATE TABLE IF NOT EXISTS adresse_correction (
id SERIAL PRIMARY KEY,
invalid_address VARCHAR(255) NOT NULL UNIQUE,
correct_address VARCHAR(255) NOT NULL UNIQUE,
correct_address VARCHAR(255) NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);`,