toMorphs method

String toMorphs ()

Adds taggable_id UNSIGNED BIGINT and taggable_type VARCHAR equivalent columns.

Implementation

String toMorphs() {
  return "\$table->morphs('$this');";
}