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

39 lines
745 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateCompanyTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('company', function (Blueprint $table) {
$table->increments('id');
$table->string('company_name');
$table->string('website');
$table->string('phone');
$table->string('address');
$table->string('landing_page');
$table->string('offline_page');
$table->string('thank_page');
$table->string('logo');
$table->string('use_logo');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::drop('company');
}
}