Migration refactoring

This commit is contained in:
Peter Papp
2021-02-25 17:15:58 +01:00
parent 18518106ca
commit af1a8e6333
28 changed files with 101 additions and 581 deletions

View File

@@ -14,10 +14,9 @@ class CreatePagesTable extends Migration
public function up()
{
Schema::create('pages', function (Blueprint $table) {
$table->id();
$table->boolean('visibility');
$table->string('title');
$table->string('slug');
$table->string('title');
$table->boolean('visibility');
$table->longText('content');
});
}