mirror of
https://mzte.de/git/LordMZTE/brevo
synced 2024-12-05 03:12:31 +01:00
try to fix sql
This commit is contained in:
parent
391f6adfb3
commit
be876b9ab9
1 changed files with 4 additions and 1 deletions
|
@ -171,7 +171,10 @@ async fn make_table(brevo: Arc<Brevo>) -> Result<(), Rejection> {
|
|||
"
|
||||
CREATE TABLE IF NOT EXISTS urls (
|
||||
id VARCHAR({}) PRIMARY KEY,
|
||||
url TEXT NOT NULL UNIQUE
|
||||
url TEXT NOT NULL,
|
||||
UNIQUE (
|
||||
url(512)
|
||||
)
|
||||
)
|
||||
",
|
||||
brevo.config.link_len
|
||||
|
|
Loading…
Reference in a new issue