At line 43 added 109 lines. |
|
|
{{{ |
dbmonster.home=/tools/dbmonster-core-1.0.3 |
dbmonster.ant=/tools/monster |
dbmonster.config=/tools/dbmonster-core-1.0.3/config |
dbmonster.schemas=/tools/dbmonster-core-1.0.3/schema |
}}} |
|
|
{{{ |
dbmonster.jdbc.driver=org.postgresql.Driver |
dbmonster.jdbc.url=jdbc:postgresql://127.0.0.1/YourDatabase |
dbmonster.jdbc.username=postgres |
dbmonster.jdbc.password=YourPassword |
|
dbmonster.max-tries=1000 |
|
dbmonster.rows=1000 |
|
dbmonster.progress.monitor=pl.kernelpanic.dbmonster.ProgressMonitorAdapter |
}}} |
|
{{{ |
<?xml version="1.0" encoding="iso-8859-1"?> |
<!DOCTYPE dbmonster-schema PUBLIC |
"-//kernelpanic.pl//DBMonster Database Schema DTD 1.1//EN" |
"http://dbmonster.kernelpanic.pl/dtd/dbmonster-schema-1.1.dtd"> |
|
<dbmonster-schema> |
<name>User Schema</name> |
<table name="app_user" rows="1500"> |
<!-- |
<key databaseDefault="false"> |
<generator type="pl.kernelpanic.dbmonster.generator.MaxKeyGenerator" |
<property name="columnName" value="id"/> |
</generator> |
</key> |
--> |
<column name="username"> |
<generator type="pl.kernelpanic.dbmonster.generator.StringGenerator"> |
<property name="nulls" value="0"/> |
<property name="minLength" value="4"/> |
<property name="maxLength" value="15"/> |
<property name="allowSpaces" value="false"/> |
</generator> |
</column> |
<column name="version"> |
<generator type="pl.kernelpanic.dbmonster.generator.NumberGenerator"> |
<property name="nulls" value="0"/> |
<property name="minValue" value="1"/> |
<property name="maxValue" value="5"/> |
<property name="returnedType" value="integer"/> |
</generator> |
</column> |
<column name="password"> |
<generator type="pl.kernelpanic.dbmonster.generator.StringGenerator"> |
<property name="nulls" value="0"/> |
<property name="minLength" value="4"/> |
<property name="maxLength" value="15"/> |
<property name="allowSpaces" value="false"/> |
</generator> |
</column> |
<column name="first_name"> |
<generator type="pl.kernelpanic.dbmonster.generator.StringGenerator"> |
<property name="nulls" value="0"/> |
<property name="minLength" value="4"/> |
<property name="maxLength" value="15"/> |
<property name="allowSpaces" value="false"/> |
</generator> |
</column> |
<column name="last_name"> |
<generator type="pl.kernelpanic.dbmonster.generator.StringGenerator"> |
<property name="nulls" value="0"/> |
<property name="minLength" value="4"/> |
<property name="maxLength" value="15"/> |
<property name="allowSpaces" value="false"/> |
</generator> |
</column> |
<column name="city"> |
<generator type="pl.kernelpanic.dbmonster.generator.StringGenerator"> |
<property name="nulls" value="0"/> |
<property name="minLength" value="4"/> |
<property name="maxLength" value="15"/> |
<property name="allowSpaces" value="false"/> |
</generator> |
</column> |
<column name="postal_code"> |
<generator type="pl.kernelpanic.dbmonster.generator.NumberGenerator"> |
<property name="nulls" value="0"/> |
<property name="minValue" value="10000"/> |
<property name="maxValue" value="77007"/> |
<property name="returnedType" value="integer"/> |
</generator> |
</column> |
<column name="email"> |
<generator type="pl.kernelpanic.dbmonster.generator.StringGenerator"> |
<property name="nulls" value="0"/> |
<property name="minLength" value="4"/> |
<property name="maxLength" value="15"/> |
<property name="allowSpaces" value="false"/> |
</generator> |
</column> |
|
|
</table> |
</dbmonster-schema> |
|
}}} |