Support the ongoing development of Laravel.io →
posted 9 years ago
Database
Last updated 2 years ago.
0

I think you can run the migrations using raw SQL with DB::unprepared

Last updated 9 years ago.
0

could you be a little more specific or give a link to instructions or something?

thanks

0

I will try to be a little more clear. What I'd like to get are the migrations files that create the tables in the db when you use the command php artisan migrate, that's because when you do such action the tables are created with the additional "created_at" and "updated_at" columns which are not there when you just synchronize the model to the db with mysqlworkbench, also I think they can be useful for modyfing tables later.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

chriz74x chriz74x Joined 8 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.