Skip to content

Commit 02fdb2c

Browse files
committed
fixed bug with default values
1 parent 60758a2 commit 02fdb2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/mysql.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ CREATE TABLE `wgsimpleacc_transactions` (
2525
`tra_amountin` DOUBLE(16, 2) NOT NULL DEFAULT '0.00',
2626
`tra_amountout` DOUBLE(16,2) NOT NULL DEFAULT '0.00',
2727
`tra_taxid` INT(10) NOT NULL DEFAULT '0',
28-
`tra_asid` INT(10) NOT NULL DEFAULT '',
28+
`tra_asid` INT(10) NOT NULL DEFAULT '0',
2929
`tra_cliid` INT(10) NOT NULL DEFAULT '0',
3030
`tra_status` INT(1) NOT NULL DEFAULT '0',
3131
`tra_comments` INT(10) NOT NULL DEFAULT '0',
@@ -60,7 +60,7 @@ CREATE TABLE `wgsimpleacc_trahistories` (
6060
`tra_amountin` DOUBLE(16, 2) NOT NULL DEFAULT '0.00',
6161
`tra_amountout` DOUBLE(16,2) NOT NULL DEFAULT '0.00',
6262
`tra_taxid` INT(10) NOT NULL DEFAULT '0',
63-
`tra_asid` INT(10) NOT NULL DEFAULT '',
63+
`tra_asid` INT(10) NOT NULL DEFAULT '0',
6464
`tra_cliid` INT(10) NOT NULL DEFAULT '0',
6565
`tra_status` INT(1) NOT NULL DEFAULT '0',
6666
`tra_comments` INT(10) NOT NULL DEFAULT '0',

0 commit comments

Comments
 (0)