Skip to content

Commit

Permalink
woops, broke the build - set the IATA codes
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Jul 23, 2017
1 parent 9a08586 commit 0dcdd5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ public function up()
Schema::create('airlines', function (Blueprint $table) {
$table->increments('id');
$table->string('code', 5);
$table->string('iata', 5);
$table->string('iata', 3)->nullable();
$table->string('name', 50);
$table->string('country', 2)->nullable();
$table->boolean('active');
Expand Down
1 change: 1 addition & 0 deletions database/seeds/dev.yml
Expand Up @@ -45,6 +45,7 @@ ranks:
airlines:
- id: 1
code: VMS
iata: VM
name: phpvms airlines
active: 1
created_at: now
Expand Down
1 change: 1 addition & 0 deletions tests/data/base.yml
Expand Up @@ -2,6 +2,7 @@
airlines:
- id: 1
code: VMS
iata: VM
name: phpvms airlines
active: 1
created_at: now
Expand Down

0 comments on commit 0dcdd5c

Please sign in to comment.