How to create a nested table in an object-relational database using Schema Builder in Laravel?

553 Views Asked by At

I have an object-relational database that has table 'software' with a nested table named 'installations'.

I am used to using Schema Builder with relational databases, and describing my columns this way:

$table->integer('column_name');

Now, how can I describe the nested table type to the schema builder

I'd imagine it to be something like this:

$table->nestedTable('my_nested_table')->withColums('nested_table_column_1', ..);

0

There are 0 best solutions below