up method

  1. @override
void up(
  1. SchemaBuilder schema
)

Implementation

@override
void up(SchemaBuilder schema) {
  schema.create('custom_soft_delete_models', (table) {
    table.integer('id').primaryKey();
    table.string('title');
    table.dateTime('removed_on').nullable();
  });
}