Next: , Previous: , Up: GNUstep Database Library   [Contents][Index]


26 Database creation

Now that we have created a model file, we need to generate the SQL to create the database.

26.1 Creating the database with DBModeler

Select, Generate SQL from the Tools menu, then select the appropriate check boxes,

Create databases, Create tables, foreign key constraints, primary key constraints, and primary key support.

then either save the SQL to a file, or execute it, you may need to login to the database server, but the adaptor for the model should bring up a login panel.