mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-13 05:44:04 +00:00
feat: Add new column for "foo_child" table to link with the table "foo".
- Add to Virtual Column a new rule to prevent store relationships names in the "data" column.
This commit is contained in:
parent
75718edcfe
commit
dda54ddab0
3 changed files with 44 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ class CreateFooChildsTable extends Migration
|
|||
Schema::create('foo_childs', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
|
||||
$table->unsignedInteger('foo_id')->nullable();
|
||||
|
||||
$table->string('foo')->nullable();
|
||||
|
||||
$table->json('data')->nullable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue