first commit
This commit is contained in:
25
migrations/InputsTypeMigration.php
Normal file
25
migrations/InputsTypeMigration.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace itguild\forms\form\migrations;
|
||||
use Illuminate;
|
||||
|
||||
class InputsTypeMigration
|
||||
{
|
||||
public static function up(): void
|
||||
{
|
||||
|
||||
Illuminate\Database\Capsule\Manager::schema()->create("input_type", function ($table) {
|
||||
$table->id('id');
|
||||
$table->string('type');
|
||||
$table->string('name');
|
||||
$table->integer('status');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public static function down(): void
|
||||
{
|
||||
Illuminate\Database\Capsule\Manager::schema()->drop("input_type");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user