Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

database migrations with sails and mongodb

I have a sails app(v ~0.10.0) using sails-mongo (v 0.10.0-rc4) and i need to execute some queries in my database through migrations.
There is any support to this feature in sails?

like image 869
Victor Avatar asked Mar 09 '26 23:03

Victor


1 Answers

Sailsjs can alter your tables in development, but it's definitely NOT recommended for a production database.

However, if you are using mongoDB migrations are not even necessary because it is a schemaless database.

like image 160
InternalFX Avatar answered Mar 12 '26 13:03

InternalFX



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!