This commit is contained in:
NW
2023-09-21 13:45:08 +01:00
commit a35c276b35
320 changed files with 74667 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('packages', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name');
$table->text('description');
$table->integer('no_of_active_forms')->default(0);
$table->boolean('is_form_downloadable');
$table->string('price_interval');
$table->integer('interval');
$table->decimal('price', 20, 4);
$table->integer('sort_order')->default(0);
$table->boolean('is_active');
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('packages');
}
};