dam1r89/translatable-migration

There is no license information available for the latest version (1.0.0) of this package.

Create a migration file for translatable resources

1.0.0 2016-07-07 16:18 UTC

This package is auto-updated.

Last update: 2024-11-21 03:22:04 UTC


README

Create migration for Dimsav\Translatable package.

Based on Laravel's default migrations.

Installation

composer require dam1r89/translatable-migration --dev

Add to config/app.php providers

dam1r89\TranslatableMigration\TranslatableMigrationServiceProvider::class,

Usage

Same as regular migration

php artisan make:migration:translatable create_table_name --create=table_name

php artisan make:migration:translatable update_table_name --table=table_name