planiverse

A minimalist, no-JS front-end for Mastodon.
git clone https://git.stjo.hn/planiverse
Log | Files | Refs | README | LICENSE

2018_08_11_175433_create_apps_table.php (865B)


      1 <?php
      2 
      3 use Illuminate\Support\Facades\Schema;
      4 use Illuminate\Database\Schema\Blueprint;
      5 use Illuminate\Database\Migrations\Migration;
      6 
      7 class CreateAppsTable extends Migration
      8 {
      9     /**
     10      * Run the migrations.
     11      *
     12      * @return void
     13      */
     14     public function up()
     15     {
     16         Schema::create('apps', function (Blueprint $table) {
     17             $table->increments('id');
     18             $table->char('server');
     19             $table->char('client_name');
     20             $table->char('redirect_uris');
     21             $table->char('scopes');
     22             $table->char('website');
     23             $table->char('response_id');
     24             $table->char('client_id');
     25             $table->char('client_secret');
     26         });
     27     }
     28 
     29     /**
     30      * Reverse the migrations.
     31      *
     32      * @return void
     33      */
     34     public function down()
     35     {
     36         Schema::dropIfExists('apps');
     37     }
     38 }