From: Janusz Dobrowolski Date: Wed, 7 Jan 2009 13:20:30 +0000 (+0000) Subject: Bug in SQL syntax. X-Git-Tag: v2.4.2~19^2~1651 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d463a84f4fca5cb86880195235cc645a08538636;p=fa-stable.git Bug in SQL syntax. --- diff --git a/sql/alter2.1.sql b/sql/alter2.1.sql index cf6d369d..3585a970 100644 --- a/sql/alter2.1.sql +++ b/sql/alter2.1.sql @@ -128,7 +128,7 @@ INSERT INTO `0_quick_entry_lines` VALUES ('2', '2', '6730', '1', '0', 0, '0', '0 INSERT INTO `0_quick_entry_lines` VALUES ('3', '3', '3000', '1', '0', 0, '0', '0'); ALTER TABLE `0_users` DROP COLUMN `print_profile`; -ALTER TABLE `0_users` ADD `print_profile` NOT NULL VARCHAR(30) DEFAULT '1'; +ALTER TABLE `0_users` ADD `print_profile` VARCHAR(30) NOT NULL DEFAULT '1'; ALTER TABLE `0_users` DROP COLUMN `rep_popup`; ALTER TABLE `0_users` ADD `rep_popup` TINYINT(1) DEFAULT '1';