Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

christabel.abdilla's avatar

Insert Row migration through Code

I would like to be able to create a kind of migration everytime "important information" is added. Basically I am working on a 'Backoffice', where a super administrator can add pages or for example system information which is importantly needed, this information is then saved in the database with a particular identifier but I would like to map that identifier in various parts of the code..

I would like to then deploy this information onto a different server without having to move parts of the tables everytime... so I was thinking that whenever a new page is added in the code I add something to create new a migration with the the particular information that has been supplied..

Anyone knows if this is possible? Any information would be appreciated...

Thank you

0 likes
0 replies

Please or to participate in this conversation.