PATH:
home
/
lab2454c
/
sportsnovate.com
/
backups
/
core
/
database
/
migrations
/
old(with theme)
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', function (Blueprint $table) { $table->id(); $table->integer('user_id'); $table->integer('product_id'); $table->integer('qty'); $table->decimal('amount', 28,8)->default(0); $table->string('order_number', 40)->nullable(); $table->tinyInteger('status')->default(0); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('orders'); } }
[-] 2021_08_31_145925_create_product_specifications_table.php
[edit]
[-] 2021_08_30_161210_create_categories_table.php
[edit]
[-] 2021_09_12_174543_create_contacts_table.php
[edit]
[+]
..
[-] 2019_12_14_000001_create_personal_access_tokens_table.php
[edit]
[-] 2021_09_05_110816_create_subcategories_table.php
[edit]
[-] 2021_09_04_154819_create_reviews_table.php
[edit]
[-] 2021_09_12_170648_create_product_reports_table.php
[edit]
[-] 2021_09_04_115533_create_orders_table.php
[edit]
[-] 2021_08_30_163729_create_specifications_table.php
[edit]
[-] 2021_09_07_161343_create_brands_table.php
[edit]
[-] 2021_09_12_235638_create_contact_replies_table.php
[edit]
[-] 2021_08_30_172934_create_products_table.php
[edit]
[-] 2021_05_23_111859_create_email_logs_table.php
[edit]
[-] 2021_03_15_084721_create_admin_notifications_table.php
[edit]
[-] 2021_09_02_103614_create_advertisements_table.php
[edit]
[-] 2021_05_08_103925_create_sms_gateways_table.php
[edit]