mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
bookCases added
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateBookCasesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
* @return void
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('book_cases', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('title');
|
||||
$table->double('lat');
|
||||
$table->double('lon');
|
||||
$table->text('address')
|
||||
->nullable();
|
||||
$table->string('type');
|
||||
$table->string('open')
|
||||
->nullable();
|
||||
$table->text('comment')
|
||||
->nullable();
|
||||
$table->text('contact')
|
||||
->nullable();
|
||||
$table->text('bcz')
|
||||
->nullable();
|
||||
$table->boolean('digital');
|
||||
$table->string('icontype');
|
||||
$table->boolean('deactivated');
|
||||
$table->string('deactreason');
|
||||
$table->string('entrytype');
|
||||
$table->text('homepage')
|
||||
->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
* @return void
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('book_cases');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user