35 lines
730 B
PHP
35 lines
730 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class MobileAnalytics extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('mobile_analytics', function (Blueprint $table) {
|
|
$table->increments('mba_id');
|
|
$table->date('date');
|
|
$table->integer('active');
|
|
$table->integer('inactive');
|
|
$table->integer('locked');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('mobile_analytics');
|
|
}
|
|
}
|