cleanup database migrations

This commit is contained in:
2019-04-24 23:03:59 -05:00
parent 291c1cd426
commit 5110c58a7c
58 changed files with 531 additions and 1924 deletions
@@ -22,6 +22,14 @@ class CreateClonesTable extends Migration
});
}
if(!Schema::hasTable('clones_mailing')) {
Schema::create('clones_mailing', function (Blueprint $table) {
$table->increments('id');
$table->string('character_id');
$table->integer('time_sent');
$table->timestamps();
});
}
}
/**
@@ -32,5 +40,6 @@ class CreateClonesTable extends Migration
public function down()
{
Schema::dropIfExists('clones');
Schema::dropIfExists('clones_mailing');
}
}