Importing .servoy file to server not creating tables

Hi all,

I’ve been working with servoy for the past couple months and have set up a server that has been working fine until now. Yesterday when I tried uploading a .servoy file to the server, I noticed that the new table doesn’t exist on the server after import. It hasn’t been created in the postgres database on the server and I’m wondering whether anybody knows what’s going on?
When importing there are no errors.

To my knowledge I havent changed any settings, but may have clicked something accidentally when importing or exporting.

I have attached some screenshots from my export/import settings:
[attachment=0]Screenshot 2024-03-14 at 16.28.38.png[/attachment]
[attachment=1]Screenshot 2024-03-14 at 16.29.06.png[/attachment]

Thanks!
Alasdair

Hi Alasdair,
Welcome to Servoy!
Servoy will only export the information about a database table if there is a form that references it (directly or indirectly).
You could otherwise check the box(es) that say
Export all tables for referenced servers
or
Export based on DBI files only

Hi Rafig,

Thank you, that fixed it.
I tried an export based on DBI files only which didn’t work, and I was wondering, if I used ‘Export all tables for referenced servers’ would it also import the tables from the cloud sample solution or would it only take tables from my solution?
I’m importing all the modules (not including the cloud sample solution itself).

Thanks again!
Alasdair

Hi,
I think it best to make sure any tables from your solution have forms (even if unused) connected to them. that way only the correct tables will be exported/imported ;-)

Ok, thank you!