target platform supports IF NOT EXISTS / IF EXISTS for indexes.
(self)
| 119 | |
| 120 | @property |
| 121 | def index_ddl_if_exists(self): |
| 122 | """target platform supports IF NOT EXISTS / IF EXISTS for indexes.""" |
| 123 | |
| 124 | # mariadb but not mysql, tested up to mysql 8 |
| 125 | return only_on(["postgresql", "mariadb", "sqlite"]) |
| 126 | |
| 127 | @property |
| 128 | def on_update_cascade(self): |