created model for eve regions

This commit is contained in:
2020-05-14 22:25:13 -05:00
parent 5d12167324
commit 7f5c40b996
4 changed files with 108 additions and 0 deletions

View File

@@ -13,6 +13,14 @@ class CreateBuyPublicContractsTable extends Migration
*/
public function up()
{
if(!Schema::hasTable('eve_regions')) {
Schema::create('eve_regions', function (Blueprint $table) {
$table->unsignedBigIncrements('id');
$table->unsignedBigInteger('region_id');
$table->string('region_name');
});
}
if(!Schema::hasTable('public_contracts')) {
Schema::create('public_contracts', function(Blueprint $table) {
$table->unsignedBigIncrements('id');