Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
aab3b5c8 by Cédric Krier at 2023-07-10T23:40:23+02:00
Use proper module prefix for unique constraint on marketing email list
- - - - -


1 changed file:

- modules/marketing_email/marketing.py


Changes:

=====================================
modules/marketing_email/marketing.py
=====================================
@@ -90,7 +90,7 @@
         t = cls.__table__()
         cls._sql_constraints = [
             ('email_list_unique', Unique(t, t.email, t.list_),
-                'marketing.msg_email_list_unique'),
+                'marketing_email.msg_email_list_unique'),
             ]
         cls._sql_indexes.add(Index(
                 t,



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/aab3b5c86e721c457b2a08ba8d6440f744a45a2c

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/aab3b5c86e721c457b2a08ba8d6440f744a45a2c
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to