Thanks for your post.
The /presql is run before
the database is created, so it won't have actually made the change you expect.
One option would be to create the DB as part of your Pre-script, for instance if I wanted to create a table first:
- Code: Select all
CREATE DATABASE pkg2
CREATE TABLE test
id INT NOT NULL ,
Then, in your commandline, specify the DB you just created and the /makeupgrade switch as opposed to the /makedatabase switch.
Hopefully that should help get around the problem.