Bug 13984: Add atomic update - Insert pref CardnumberLength if not exists
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 13 Apr 2015 11:30:03 +0000 (13:30 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 29 Apr 2015 18:19:19 +0000 (15:19 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/atomicupdate/bug_13984-add-CardnumberLength_unless_exists.sql [new file with mode: 0644]

diff --git a/installer/data/mysql/atomicupdate/bug_13984-add-CardnumberLength_unless_exists.sql b/installer/data/mysql/atomicupdate/bug_13984-add-CardnumberLength_unless_exists.sql
new file mode 100644 (file)
index 0000000..8b294df
--- /dev/null
@@ -0,0 +1 @@
+INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES('CardnumberLength', '', '', 'Set a length for card numbers.', 'Free');