Adjust columns in migrations and give lens to strings and custom flight fields #48
This commit is contained in:
@@ -15,9 +15,9 @@ class CreateAirlinesTable extends Migration
|
||||
{
|
||||
Schema::create('airlines', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('code');
|
||||
$table->string('name');
|
||||
$table->char('country', 2)->nullable();
|
||||
$table->string('code', 5);
|
||||
$table->string('name', 50);
|
||||
$table->string('country', 2)->nullable();
|
||||
$table->boolean('active');
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user