1
0
Fork 0
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:
Henrique Felix 2025-05-12 17:23:27 +00:00
parent 75718edcfe
commit dda54ddab0
3 changed files with 44 additions and 0 deletions

View file

@ -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();