Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL)
indeed treat them as such (i.e., you can have indexes with the same name
in different tables).
|
|
|
|
Too much effort to maintain.
|
|
New pragma qualifier: namespace. New pragma specifier: schema. The table
specifier was extended to accept a schema prefix. New option: --default-
schema. The common/schema test was extended to cover the new functionality.
|
|
We now first create the so-called database model from C++ model and
then use that to generate the database schema. The new approach also
adds more general support for primary/foreign keys, including multi-
column keys. Finally, for MySQL we now generate out-of-line foreign
key definitions. Because MySQL does not support deferred constraints
checking, deferred foreign keys are written commented out, for
documentation.
|
|
Const data members are automatically treated as readonly. New test:
const-member.
|
|
A more generic name is required since it is now used in both generator
and processor (and in the future may be used validator).
|
|
Due to bugs in SQLite DDL foreign key support, we have to temporarily
disable foreign keys when re-creating the schema. New manual section:
12.5.3, "Foreign Key Constraints".
|
|
New pragma: default. New test: default.
|
|
|