Merge migrations into one file

This commit is contained in:
James Brooks
2015-01-17 19:17:30 +00:00
parent 6ee6658972
commit 95e54fcd58
2 changed files with 0 additions and 33 deletions

View File

@@ -18,7 +18,6 @@ class CreateComponentsTable extends Migration
$table->string('name');
$table->text('description');
$table->text('link');
$table->text('tags');
$table->integer('status');
$table->integer('order');
$table->integer('group_id');

View File

@@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterTableComponentsDropTagsColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('components', function (Blueprint $table) {
$table->dropColumn('tags');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('components', function (Blueprint $table) {
$table->text('tags')->after('link');
});
}
}