corrected errors

This commit is contained in:
2018-07-12 21:58:46 +02:00
parent 34df868d57
commit f8c614162c
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ class CreateDataTablesTable extends Migration
$table->increments('id');
$table->timestamps();
$table->unsignedInteger('owner_id');
$table->unsignedInteger('precursor_id')->nullable(); // fork source
$table->unsignedInteger('parent_table_id')->nullable(); // fork source
$table->unsignedInteger('revision'); // incremented with each applied changeset
$table->string('title')->index(); // indexable
$table->text('description');
@@ -27,7 +27,7 @@ class CreateTableCommentsTable extends Migration
$table->foreign('author_id')->references('id')->on('users')
->onDelete('cascade');
$table->foreign('ancestor_id')->references('id')->on('comments')
$table->foreign('ancestor_id')->references('id')->on('table_comments')
->onDelete('set null');
});
}