diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 13:16:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 13:16:57 +0200 |
commit | 5125cad0209640b61007b921637c78504a4924d2 (patch) | |
tree | 983683a62ba00d68e51132c261a796f1bdfb811b /odb/options.cli | |
parent | f85d634ac895a6ad937d8bc0861cc483d07da1cb (diff) |
Add --sqlite-override-null option
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli index c3bb908..63bbbb8 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -961,6 +961,15 @@ class options // SQLite-specific options. // + bool --sqlite-override-null + { + "Make all columns in the generated database schema allow \cb{NULL} + values. This is primarily useful in schema migration since SQLite + does not support dropping of columns. By making all columns \cb{NULL} + we can later \"delete\" them by setting their values to \cb{NULL}. + Note that this option overrides even the \cb{not_null} pragma." + }; + bool --sqlite-lax-auto-id { "Do not force monotonically increasing automatically-assigned |