2016-05-19 15:01:28 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
2022-07-09 10:08:26 +01:00
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
2016-05-19 15:01:28 +01:00
|
|
|
|
|
|
|
class CreateClientsTable extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
|
|
|
Schema::create('clients', function (Blueprint $table) {
|
|
|
|
$table->increments('id');
|
|
|
|
$table->string('client_url');
|
|
|
|
$table->string('client_name');
|
|
|
|
$table->timestamps();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
|
|
|
Schema::drop('clients');
|
|
|
|
}
|
|
|
|
}
|