Update SQL migration
This commit is contained in:
parent
615342aa77
commit
10ae18fe44
@ -95,8 +95,8 @@ if ($action == 'add')
|
|||||||
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
|
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
|
||||||
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
|
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
|
||||||
|
|
||||||
$object->ics = trim($_POST["ics"]);
|
$object->ics = trim(GETPOST("ics", 'alpha');
|
||||||
$object->ics_transfer = trim($_POST["ics_transfer"]);
|
$object->ics_transfer = trim(GETPOST("ics_transfer", 'alpha');
|
||||||
|
|
||||||
$account_number = GETPOST('account_number', 'alphanohtml');
|
$account_number = GETPOST('account_number', 'alphanohtml');
|
||||||
if (empty($account_number) || $account_number == '-1')
|
if (empty($account_number) || $account_number == '-1')
|
||||||
@ -199,8 +199,8 @@ if ($action == 'update')
|
|||||||
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
|
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
|
||||||
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
|
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
|
||||||
|
|
||||||
$object->ics = trim($_POST["ics"]);
|
$object->ics = trim(GETPOST("ics", 'alpha');
|
||||||
$object->ics_transfer = trim($_POST["ics_transfer"]);
|
$object->ics_transfer = trim(GETPOST("ics_transfer", 'alpha');
|
||||||
|
|
||||||
$account_number = GETPOST('account_number', 'alpha');
|
$account_number = GETPOST('account_number', 'alpha');
|
||||||
if (empty($account_number) || $account_number == '-1')
|
if (empty($account_number) || $account_number == '-1')
|
||||||
|
|||||||
@ -372,6 +372,9 @@ ALTER TABLE llx_bank ADD COLUMN origin_id integer;
|
|||||||
ALTER TABLE llx_bank ADD COLUMN origin_type varchar(64) NULL;
|
ALTER TABLE llx_bank ADD COLUMN origin_type varchar(64) NULL;
|
||||||
ALTER TABLE llx_bank ADD COLUMN import_key varchar(14);
|
ALTER TABLE llx_bank ADD COLUMN import_key varchar(14);
|
||||||
|
|
||||||
|
ALTER TABLE llx_bank_account ADD COLUMN ics varchar(32) NULL;
|
||||||
|
ALTER TABLE llx_bank_account ADD COLUMN ics_transfer varchar(32) NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_menu MODIFY COLUMN enabled text;
|
ALTER TABLE llx_menu MODIFY COLUMN enabled text;
|
||||||
|
|
||||||
CREATE TABLE llx_ecm_files_extrafields
|
CREATE TABLE llx_ecm_files_extrafields
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user