Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Updates;
|
||||
|
||||
use Config;
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableCreateGermanAirlinesVaAircraftManufacturers extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::connection('germanairlinesva_fleet')->create('ga_aircraft_manufacturers', function ($table) {
|
||||
//Schema::create('ga_aircraft_manufacturers', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->bigIncrements('id')->unsigned();
|
||||
$table->string('name');
|
||||
$table->text('history');
|
||||
$table->string('link');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::connection('germanairlinesva_fleet')->dropIfExists('ga_aircraft_manufacturers');
|
||||
//Schema::dropIfExists('ga_aircraft_manufacturers');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user