Files
faveo/database/migrations/2015_05_04_113843_create_settings_table.php
2015-12-22 14:09:23 +05:30

45 lines
921 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateSettingsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('settings', function (Blueprint $table) {
$table->increments('id');
$table->string('company_name');
$table->string('phone');
$table->string('website');
$table->string('address');
$table->string('logo');
$table->string('background');
$table->string('version');
$table->string('port');
$table->string('host');
$table->string('encryption');
$table->string('email');
$table->string('password');
$table->integer('pagination');
$table->string('timezone');
$table->string('dateformat');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::drop('settings');
}
}