changes
This commit is contained in:
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateTblSettingsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('tbl_settings', function (Blueprint $table) {
|
||||
$table->id('setting_id');
|
||||
$table->string('title')->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->string('url1')->nullable();
|
||||
$table->string('url2')->nullable();
|
||||
$table->string('email')->nullable();
|
||||
$table->string('phone')->nullable();
|
||||
$table->string('secondary_phone')->nullable();
|
||||
$table->text('google_map')->nullable();
|
||||
$table->string('fb')->nullable();
|
||||
$table->string('insta')->nullable();
|
||||
$table->string('twitter')->nullable();
|
||||
$table->string('tiktok')->nullable();
|
||||
$table->string('primary_logo')->nullable();
|
||||
$table->string('secondary_logo')->nullable();
|
||||
$table->string('thumb')->nullable();
|
||||
$table->string('icon')->nullable();
|
||||
$table->string('og_image')->nullable();
|
||||
$table->string('no_image', 250)->nullable();
|
||||
$table->string('copyright_text', 250)->nullable();
|
||||
$table->text('content1')->nullable();
|
||||
$table->text('content2')->nullable();
|
||||
$table->text('content3')->nullable();
|
||||
$table->string('seo_title')->nullable();
|
||||
$table->text('seo_description')->nullable();
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('display_order')->default(0);
|
||||
$table->integer('status')->default(0);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby');
|
||||
$table->integer('updatedby');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('tbl_settings');
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,41 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user