Closed mura-admin closed 4 years ago
This is useful for fast iteration on Schema models where you want to quickly replace an existing Schema with an updated one and have scripted a complete wipe and recreate on each iteration.
CREATE IF NOT EXISTS would also be useful.
Fluent 4 has support for create if not exists with the ignoreExisting() method. Tracking deletion if exists here: https://github.com/vapor/fluent-kit/issues/325
ignoreExisting()
This is useful for fast iteration on Schema models where you want to quickly replace an existing Schema with an updated one and have scripted a complete wipe and recreate on each iteration.
CREATE IF NOT EXISTS would also be useful.