diff --git a/mysql/migration/1.1.0-1.2.0-RC1.sql b/mysql/migration/1.1.0-1.2.0-RC1.sql index 7d86d6be001..9b7d4301d40 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -50,6 +50,8 @@ alter table llx_bank_account modify bank varchar(60); alter table llx_bank_account modify domiciliation varchar(255); alter table llx_bank_account add proprio varchar(60) after domiciliation ; alter table llx_bank_account add adresse_proprio varchar(255) after proprio ; +alter table llx_bank_account add account_number varchar(8) after clos ; +update llx_bank_account set account_number = '51' where account_number is null; alter table llx_paiement add fk_bank integer NOT NULL after note ; alter table llx_paiementfourn add fk_bank integer NOT NULL after note ; diff --git a/mysql/tables/llx_bank_account.sql b/mysql/tables/llx_bank_account.sql index c50cec3c6d2..79b90d37efa 100644 --- a/mysql/tables/llx_bank_account.sql +++ b/mysql/tables/llx_bank_account.sql @@ -42,5 +42,6 @@ create table llx_bank_account proprio varchar(60), adresse_proprio varchar(255), courant smallint default 0 not null, - clos smallint default 0 not null + clos smallint default 0 not null, + account_number varchar(8) )type=innodb; diff --git a/pgsql/tables/llx_bank_account.sql b/pgsql/tables/llx_bank_account.sql index 6e5e5277b98..5aec39bf4be 100644 --- a/pgsql/tables/llx_bank_account.sql +++ b/pgsql/tables/llx_bank_account.sql @@ -1,7 +1,8 @@ -- =================================================================== -- Copyright (C) 2000-2002 Rodolphe Quiedeville --- Copyright (C) 2002-2003 Éric Seigne --- Copyright (C) 2004 Benoit Mortier +-- Copyright (C) 2002-2003 Éric Seigne +-- Copyright (C) 2004 Benoit Mortier +-- Copyright (C) 2004 Laurent Destailleur -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -39,5 +40,6 @@ create table llx_bank_account proprio varchar(60), adresse_proprio varchar(255), courant smallint default 0 not null, - clos smallint default 0 not null + clos smallint default 0 not null, + account_number varchar(8) );