mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
609 B
26 lines
609 B
<?php
|
|
|
|
use Movim\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
class CreateCapabilitiesTable extends Migration
|
|
{
|
|
public function up()
|
|
{
|
|
$this->schema->create('capabilities', function (Blueprint $table) {
|
|
$table->string('node', 256);
|
|
$table->string('category', 16);
|
|
$table->string('type', 16);
|
|
$table->string('name', 128);
|
|
$table->text('features');
|
|
$table->timestamps();
|
|
|
|
$table->primary('node');
|
|
});
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$this->schema->drop('capabilities');
|
|
}
|
|
}
|