Can you please tell me how to get the database script.
Use menu Tools/Generate Source Code. In the Source Code Generation dialog perform these steps
1. Choose SQL DDL from Language drop down
2. Choose diagrams in the left project tree, from which you want to generate the script
3. Set output directory for the generated source code
4. Click on Generate
You can use also the generation sidebar: http://www.softwareideas.net/a/174/Generation-Sidebar