fix minor SQL syntax problem in V271__accounting_for_client_charges.sql

This commit is contained in:
Michael Vorburger.ch
2019-06-20 21:06:48 +02:00
parent 720a39d9d2
commit fc01dd25b7
@@ -22,7 +22,7 @@ ALTER TABLE `m_charge`
ADD COLUMN `income_or_liability_account_id` BIGINT(20) NULL AFTER `fee_frequency`,
ADD CONSTRAINT `FK_m_charge_acc_gl_account` FOREIGN KEY (`income_or_liability_account_id`) REFERENCES `acc_gl_account` (`id`);
--Journal entries also refer to Client transactions
-- Journal entries also refer to Client transactions
ALTER TABLE `acc_gl_journal_entry`
ADD COLUMN `client_transaction_id` BIGINT(20) NULL DEFAULT NULL AFTER `savings_transaction_id`,
ADD CONSTRAINT `FK_acc_gl_journal_entry_m_client_transaction` FOREIGN KEY (`client_transaction_id`) REFERENCES `m_client_transaction` (`id`);