Migrating nextcloud sql datastructures from 10.02 to 11? is this automatic?

I’m in the midst of building a new nextcloud server. My current server is version 10.02. I’d like to build the next server on version 11. I’m guessing the sql data structure is different. I plan to restore the data tables then start the server. Will version 11 recognize the old data structure and update it automatically?
Thanks
Wayne

You can put the version 10 database, your data/ folder and config/-folder into the NC 11 packages. Then run the upgrade command from command line sudo -u webserver-user php /path/to/nextcloud/occ upgrade.