diff options
author | Kim Alvefur <zash@zash.se> | 2019-05-30 23:50:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-05-30 23:50:28 +0200 |
commit | c2576aea62e6567c7690a17e1c33d8256f683899 (patch) | |
tree | d0ed5a6abf5647a948acc7bc34f6af37806115d6 /util/array.lua | |
parent | cabd5216b4de1471e62f4b859b634863e6ea2512 (diff) | |
download | prosody-c2576aea62e6567c7690a17e1c33d8256f683899.tar.gz prosody-c2576aea62e6567c7690a17e1c33d8256f683899.zip |
util.sql: Ignore if tables and indices already exist on creation (fixes #1064)
Tested with SQLite3 3.16.2 and 3.27.2 and Postgres 11.
MySQL does not support IF NOT EXISTS for indices so not handled here.
Diffstat (limited to 'util/array.lua')
0 files changed, 0 insertions, 0 deletions