the promoseven group crm
This commit is contained in:
commit
12e3a44046
88 files changed
+12923
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('venues', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->enum('type', ['hotel', 'restaurant', 'bar', 'beach', 'pool', 'watersports']);
|
||||
$table->string('address')->nullable();
|
||||
$table->enum('group', ['seven', 'city_center', 'coral_bay']);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('venues');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user