1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 09:02:28 +01:00
Pterodactyl-Panel/database/migrations/2016_01_23_203119_create_settings_table.php
2017-08-21 22:10:48 -05:00

27 lines
510 B
PHP

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::create('settings', function (Blueprint $table) {
$table->string('key')->unique();
$table->text('value');
});
}
/**
* Reverse the migrations.
*/
public function down()
{
Schema::dropIfExists('settings');
}
}