Commit 96a212b8 by Bagus Pambudi

tambah slug di slider dan gallery

parent 2c8282f2
...@@ -18,6 +18,7 @@ class CreateGaleriesTable extends Migration ...@@ -18,6 +18,7 @@ class CreateGaleriesTable extends Migration
$table->string('title'); $table->string('title');
$table->text('decription')->nullable(); $table->text('decription')->nullable();
$table->string('gallery')->nullable(); $table->string('gallery')->nullable();
$table->string('slug')->nullable();
$table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
$table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
......
...@@ -18,6 +18,7 @@ class CreateSlidersTable extends Migration ...@@ -18,6 +18,7 @@ class CreateSlidersTable extends Migration
$table->string('title'); $table->string('title');
$table->string('slider')->nullable(); $table->string('slider')->nullable();
$table->text('content')->nullable(); $table->text('content')->nullable();
$table->string('slug')->nullable();
$table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
$table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment