3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/database/migrations/2019_09_20_141811_create_seats_table.php
2021-06-27 21:01:43 +02:00

38 lines
883 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSeatsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('seats', function (Blueprint $table) {
$table->bigIncrements('id');
$table->bigInteger('show_id');
$table->string('uuid');
$table->integer('seat');
$table->string('voucher');
$table->timestamp('date');
$table->boolean('loaded')->default(0);
$table->boolean('paid')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('seats');
}
}