This commit is contained in:
Sampanna Rimal
2024-09-11 12:32:15 +05:45
parent 82fab174dc
commit afb2c202d6
170 changed files with 3352 additions and 363 deletions

View File

@ -14,7 +14,7 @@ class CreateTblSettingsTable extends Migration
public function up()
{
Schema::create('tbl_settings', function (Blueprint $table) {
$table->id('setting_id');
$table->id();
$table->string('title')->nullable();
$table->text('description')->nullable();
$table->string('url1')->nullable();
@ -42,7 +42,7 @@ class CreateTblSettingsTable extends Migration
$table->text('seo_keywords')->nullable();
$table->text('og_tags')->nullable();
$table->integer('display_order')->default(0);
$table->integer('status')->default(0);
$table->integer('status')->default(11);
$table->timestamps();
$table->integer('createdby');
$table->integer('updatedby');

View File

@ -1,41 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTblFabriccategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_fabriccategories', function (Blueprint $table) {
$table->id('febriccategory_id');
$table->string('title')->nullable();
$table->string('alias')->nullable();
$table->text('description')->nullable();
$table->string('color')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->text('remarks')->nullable();
$table->dateTime('created_at')->nullable();
$table->integer('createdby')->nullable();
$table->dateTime('updated_at')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tbl_fabriccategories');
}
}

View File

@ -1,39 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTblMasterunitsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_masterunits', function (Blueprint $table) {
$table->id('masterunit_id');
$table->string('title')->nullable();
$table->string('alias')->nullable();
$table->text('description')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->text('remarks')->nullable();
$table->dateTime('created_at')->nullable();
$table->integer('createdby')->nullable();
$table->dateTime('updated_at')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tbl_masterunits');
}
}

View File

@ -1,48 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTblStocksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_stocks', function (Blueprint $table) {
$table->id('stock_id');
$table->integer('stocklocations_id')->nullable();
$table->string('title')->nullable();
$table->string('alias')->nullable();
$table->integer('products_id')->nullable();
$table->string('s')->nullable();
$table->string('m')->nullable();
$table->string('l')->nullable();
$table->string('xl')->nullable();
$table->string('xxl')->nullable();
$table->string('xxxl')->nullable();
$table->string('fs')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->text('remarks')->nullable();
$table->dateTime('created_at')->nullable();
$table->integer('createdby')->nullable();
$table->dateTime('updated_at')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tbl_stocks');
}
}

View File

@ -1,40 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTblPaymentmodesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tbl_paymentmodes', function (Blueprint $table) {
$table->id('paymentmode_id');
$table->string('title')->nullable();
$table->string('alias')->nullable();
$table->text('description')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->text('remarks')->nullable();
$table->dateTime('created_at')->nullable();
$table->integer('createdby')->nullable();
$table->dateTime('updated_at')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tbl_paymentmodes');
}
}