Skip to content

Commit

Permalink
Nullable Descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
1day2die committed Jul 7, 2022
1 parent 878f248 commit cd9e079
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 54 deletions.
10 changes: 0 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

"require": {
"php": "^8.1",
"controlpanel/vouchers": "dev-main",
"fruitcake/laravel-cors": "^2.0.5",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^9.0",
Expand All @@ -32,15 +31,6 @@
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.0"
},
"repositories": {
"controlpanel-vouchers": {
"type": "path",
"url": "packages/controlpanel/vouchers",
"options": {
"symlink": true
}
}
},
"autoload": {
"psr-4": {
"App\\": "app/",
Expand Down
42 changes: 2 additions & 40 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
Schema::create('locations', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->text('description');
$table->text('description')->nullable();
$table->timestamps();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function up()
$table->id();
$table->foreignId('location_id')->references('id')->on('locations')->cascadeOnDelete();
$table->string('name');
$table->text('description');
$table->text('description')->nullable();
$table->timestamps();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
Schema::create('nests', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->text('description');
$table->text('description')->nullable();
$table->timestamps();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function up()
$table->id();
$table->foreignId('nest_id')->references('id')->on('nests')->cascadeOnDelete();
$table->string('name');
$table->text('description');
$table->text('description')->nullable();
$table->string('docker_image');
$table->text('startup');
$table->json('environment');
Expand Down
Binary file added dump.rdb
Binary file not shown.

0 comments on commit cd9e079

Please sign in to comment.