<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; class CreateLitecmsCurrencyCurrenciesTable extends Migration { /* * Run the migrations. * * @return void */ public function up() { /* * Table: litecms_currency_currencies */ Schema::create('litecms_currency_currencies', function ($table) { $table->increments('id'); $table->integer('user_id')->nullable(); $table->integer('country_id')->nullable(); $table->string('country', 255)->nullable(); $table->string('name', 100)->nullable(); $table->string('slug', 10)->nullable(); $table->string('symbol', 15)->nullable(); $table->decimal('exchange_rate', 10,2)->nullable(); $table->string('amount_format', 100)->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('litecms_currency_currencies'); } }