nullableMorphs method
Adds nullable morphs (polymorphic relations)
Implementation
void nullableMorphs(String name) {
string('${name}_type').nullable();
bigInteger('${name}_id').unsigned().nullable();
}
Adds nullable morphs (polymorphic relations)
void nullableMorphs(String name) {
string('${name}_type').nullable();
bigInteger('${name}_id').unsigned().nullable();
}