Home » Database » MDB2_Schema » Bug #5976
"create" tag. Why?
Details
| Request #5976 | "create" tag. Why? |
|---|---|
| Submitted | 2005-11-16 03:08 UTC |
| From | richtl at arscognita dot com |
| Status | Bogus |
| Package | MDB2_Schema |
| PHP Version | 5.1.0 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2005-11-16 03:08 UTC] richtl at arscognita dot com
Description:
------------
What is the rationale behind the <create> tag in the schema? It seems unnecessary.
If you're applying a schema to a database that doesn't yet exist, the DB should be created. If you're applying a schema to a database that does exist, it should be upgraded. Why is it necessary for the schema definition (xml file)--rather than the application logic--to know whether it's being applied as an insert or an upgrade?
[2005-11-16 03:26 UTC] richtl at arscognita dot com
Wrong bug summary name!