dreamfactorysoftware / dreamfactory

DreamFactory API Management Platform
https://www.dreamfactory.com
Apache License 2.0
1.53k stars 311 forks source link

Upgrading from 2.x to 3.x documentation #270

Open tvarsis opened 4 years ago

tvarsis commented 4 years ago

Since MySQL is removed from the opensource version in version 3.0, and all users are stored in MySQL as the default storage, I guess we will have to migrate that to SQLite that is the new default storage for config and DF users. But there are no documentation at all about upgrading from 2.x -> 3.x, nor any release notes in the Wiki for 3.x.

Are there more breaking changes or things to consider when upgrading? Is the upgrade process automatic? Database migrations moving from MySQL to SQLite and so on?

Documentation about this is really required.

Thanks!

wjgilmore commented 4 years ago

Hi,

The underlying DreamFactory system database is different from the MySQL connector. MySQL will still work fine as the system database for DreamFactory 3, and there is no known reason why that will ever change. Incidentally, other system databases are also supported, including SQLite, PostgreSQL, and Microsoft SQL Server.

Jason

isreehari commented 4 years ago

I hate this decision they removed pre and post scripts processing from open source version.

Thanks, Sree

Sent from my iPhone, please ignore if there are any typos.

On Sep 26, 2019, at 2:24 PM, Todd Appleton notifications@github.com wrote:

Hi,

The underlying DreamFactory system database is different from the MySQL connector. MySQL will still work fine as the system database for DreamFactory 3, and there is no known reason why that will ever change. Incidentally, other system databases are also supported, including SQLite, PostgreSQL, and Microsoft SQL Server.

Jason

On September 26, 2019 at 2:11:54 PM, tvarsis (notifications@github.com) wrote:

Since MySQL is removed from the opensource version in version 3.0, and all users are stored in MySQL as the default storage, I guess we will have to migrate that to SQLite that is the new default storage for config and DF users. But there are no documentation at all about upgrading from 2.x -> 3.x, nor any release notes in the Wiki for 3.x.

Are there more breaking changes or things to consider when upgrading? Is the upgrade process automatic? Database migrations moving from MySQL to SQLite and so on?

Documentation about this is really required.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/dreamfactorysoftware/dreamfactory/issues/270?email_source=notifications&email_token=AA23GEQE3CSKMC55OELRZ5TQLUD75A5CNFSM4I25K3P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7WWCWQ#issuecomment-535650650, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA23GESRT44BOMZZDAG3MCTQLUD75ANCNFSM4I25K3PQ.

tvarsis commented 4 years ago

Thanks for the information! So does this mean the upgrade to version 3 will work the same way as a minor 2.x upgrade? Are there any caveats other than losing support for MySQL/Mongo/scripts? I'm using docker compose from your docker hub with version 2.14.2