aboutsummaryrefslogtreecommitdiff
path: root/schema
AgeCommit message (Collapse)AuthorFilesLines
2011-08-22Add --table-prefix optionBoris Kolpackov1-1/+1
Assign unique table prefixes to most examples. This makes sure that we don't end up with broken schemas where half of the tables were changed by the next test and the other half has foreign keys that now point to nowhere.
2011-07-19New design for NULL semanticsBoris Kolpackov1-5/+5
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-07-14Remove erroneous SQLite schema creation from schema exampleConstantin Michael2-18/+2
2011-07-13Add PostgreSQLConstantin Michael3-2/+64
2011-03-25SQLite supportBoris Kolpackov2-2/+30
2011-03-21Factor out database macro setupBoris Kolpackov2-10/+2
2011-03-21Fix issues with build outside source directoryBoris Kolpackov2-4/+4
2011-03-01Add support for embedded database schemasBoris Kolpackov5-0/+371
New options: --schema-format, --default-schema. New example: schema/embedded.
2011-02-25Add support for examples in subdirectoriesBoris Kolpackov5-10/+9
Move the schema example to schema/custom.
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov2-4/+4
Port all the examples and tests.
2011-01-19Add schema exampleBoris Kolpackov5-0/+488
It shows how to map persistent classes to a custom database schema.