Fix migration when field was added without null flag.

This commit is contained in:
Laurent Destailleur 2016-09-10 17:58:13 +02:00
parent 1b00d55021
commit ce137e3987
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,8 @@ ALTER TABLE llx_user DROP COLUMN phenix_pass;
ALTER TABLE llx_societe ADD COLUMN fk_account integer;
ALTER TABLE llx_commandedet ADD COLUMN fk_commandefourndet integer DEFAULT NULL after import_key; -- link to detail line of commande fourn (resplenish)
ALTER TABLE llx_commandedet ADD COLUMN fk_commandefourndet integer DEFAULT NULL after import_key; -- link to detail line of commande fourn (resplenish)
ALTER TABLE llx_commandedet MODIFY COLUMN fk_commandefourndet integer DEFAULT NULL;
ALTER TABLE llx_website ADD COLUMN virtualhost varchar(255) after fk_default_home;

View File

@ -583,6 +583,7 @@ NotEnoughPermissions=You don't have permission for this action
SessionName=Session name
Method=Method
Receive=Receive
CompleteOrNoMoreReceptionExpected=Complete or nothing more expected
PartialWoman=Partial
TotalWoman=Total
NeverReceived=Never received