| <?php | |
| 
 | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| 
 | |
| class Micropub extends Migration | |
| { | |
|     /** | |
|      * Run the migrations. | |
|      * | |
|      * @return void | |
|      */ | |
|     public function up() | |
|     { | |
|       Schema::table('databases', function ($table) { | |
|         $table->string('micropub_endpoint', 255); | |
|         $table->string('micropub_token', 1024); | |
|       }); | |
|     } | |
| 
 | |
|     /** | |
|      * Reverse the migrations. | |
|      * | |
|      * @return void | |
|      */ | |
|     public function down() | |
|     { | |
|         // | |
|     } | |
| }
 |