Red
Red copied to clipboard
:if-not-exists flag for schema(...).create?
schema(Account, Transaction).create;
Is there some syntax to apply the :if-not-exists flag when using this way of creating my tables?
I'm planing a
schema(...).update;
That will update your db's actual schema for your model defined schema.