1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-28 04:42:29 +01:00
Pterodactyl-Panel/database/migrations/2016_01_23_203119_create_settings_table.php

31 lines
564 B
PHP
Raw Normal View History

2016-01-21 04:08:09 +01:00
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('settings', function (Blueprint $table) {
$table->string('key')->unique();
$table->text('value');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
2016-01-23 21:42:25 +01:00
Schema::dropIfExists('settings');
2016-01-21 04:08:09 +01:00
}
}