Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 Update DB schema from Class description

open
nobody
None
5
2007-03-19
2007-03-03
Tim Kientzle
No

According to the documentation, SO can update a
class with information about new columns in the database:

"SQLObject can read the table description from the database, and fill in the class columns"

However, I would prefer to update my SO class descriptions and have new DB columns created automatically. I can manually addCol to create new columns if I know what they are, but I would like for SO to query the DB, identify columns missing from the DB and automatically create them. (Dropping and recreating the entire table is clearly out of the question.)

This would cover 90% of my requirements for managing schema evolution.

Discussion

  • Oleg Broytman
    Oleg Broytman
    2007-03-19

    • labels: 504692 -->