mirror of https://git.stjo.hn/planiverse
39 lines
865 B
PHP
39 lines
865 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class CreateAppsTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('apps', function (Blueprint $table) {
|
|
$table->increments('id');
|
|
$table->char('server');
|
|
$table->char('client_name');
|
|
$table->char('redirect_uris');
|
|
$table->char('scopes');
|
|
$table->char('website');
|
|
$table->char('response_id');
|
|
$table->char('client_id');
|
|
$table->char('client_secret');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('apps');
|
|
}
|
|
}
|