setenv, new migration for table booking_rooms, key for bookings table
This commit is contained in:
parent
11a05664df
commit
6f6114c55c
7 changed files with 15099 additions and 1007 deletions
3023
motorradig/composer.lock
generated
3023
motorradig/composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateBookingRooms extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('booking_rooms', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->integer('tour_id');
|
||||
$table->integer('capacity');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Schema::table('bookings', function (Blueprint $table) {
|
||||
$table->integer('room_id');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('booking_rooms');
|
||||
}
|
||||
}
|
||||
12367
motorradig/package-lock.json
generated
12367
motorradig/package-lock.json
generated
File diff suppressed because it is too large
Load diff
3
motorradig/setenv.sh
Normal file
3
motorradig/setenv.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
alias phpunit="docker-compose exec app vendor/bin/phpunit"
|
||||
alias artisan="docker-compose exec app php artisan"
|
||||
alias composer="docker-compose exec app composer"
|
||||
225
tools/motorradig_2022-04-09_100624.sql
Normal file
225
tools/motorradig_2022-04-09_100624.sql
Normal file
File diff suppressed because one or more lines are too long
225
tools/motorradig_2022-04-12_105329.sql
Normal file
225
tools/motorradig_2022-04-12_105329.sql
Normal file
File diff suppressed because one or more lines are too long
225
tools/motorradig_2022-04-20_082910.sql
Normal file
225
tools/motorradig_2022-04-20_082910.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue