How to fill some table fields with default values from another table

#1

Hello Guys!

I have a table that needs to populate some values ​​from another table by default. I am currently using:

table.date(warning_expiration).defaultTo(01/01/2025);

How do I get the default values ​​from another table to fill this field?

Thank you

0 Likes