diff --git a/database/migrations/2017_12_09_111046_changes_for_spectre.php b/database/migrations/2017_12_09_111046_changes_for_spectre.php deleted file mode 100644 index ce907194ce..0000000000 --- a/database/migrations/2017_12_09_111046_changes_for_spectre.php +++ /dev/null @@ -1,67 +0,0 @@ -. - */ - -use Illuminate\Database\Migrations\Migration; -use Illuminate\Database\Schema\Blueprint; -use Illuminate\Support\Facades\Schema; - -/** - * Class ChangesForSpectre - */ -class ChangesForSpectre extends Migration -{ - /** - * Reverse the migrations. - */ - public function down() - { - } - - /** - * Run the migrations. - */ - public function up() - { - // create provider table: - if (!Schema::hasTable('spectre_providers')) { - Schema::create( - 'spectre_providers', - function (Blueprint $table) { - $table->increments('id'); - $table->timestamps(); - $table->softDeletes(); - //'spectre_id', 'code', 'mode', 'name', 'status', 'interactive', 'automatic_fetch', 'country_code', 'data' - $table->integer('spectre_id', false, true); - $table->string('code', 100); - $table->string('mode', 20); - $table->string('status', 20); - $table->boolean('interactive')->default(0); - $table->boolean('automatic_fetch')->default(0); - $table->string('country_code', 3); - $table->text('data'); - } - ); - } - } -}