From 5125cad0209640b61007b921637c78504a4924d2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Apr 2013 13:16:57 +0200 Subject: Add --sqlite-override-null option --- odb/options.cli | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'odb/options.cli') 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 -- cgit v1.1