diff --git a/htdocs/install/mysql/tables/llx_asset-asset.sql b/htdocs/install/mysql/tables/llx_asset-asset.sql index 2eed188bc14..65cb9d6b477 100644 --- a/htdocs/install/mysql/tables/llx_asset-asset.sql +++ b/htdocs/install/mysql/tables/llx_asset-asset.sql @@ -43,13 +43,13 @@ CREATE TABLE llx_asset( acquisition_type smallint DEFAULT 0 NOT NULL, asset_type smallint DEFAULT 0 NOT NULL, - not_depreciated integer DEFAULT 0, + not_depreciated boolean DEFAULT false, disposal_date date, disposal_amount_ht double(24,8), fk_disposal_type integer, - disposal_depreciated integer DEFAULT 0, - disposal_subject_to_vat integer DEFAULT 0, + disposal_depreciated boolean DEFAULT false, + disposal_subject_to_vat boolean DEFAULT false, note_public text, note_private text, diff --git a/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql b/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql index e23a2ed1414..95ac1dc1a1a 100644 --- a/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql +++ b/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql @@ -27,7 +27,7 @@ CREATE TABLE llx_asset_depreciation_options_economic( fk_asset_model integer, depreciation_type smallint DEFAULT 0 NOT NULL, -- 0:linear, 1:degressive, 2:exceptional - accelerated_depreciation_option integer, -- activate accelerated depreciation mode (fiscal) + accelerated_depreciation_option boolean DEFAULT false, -- activate accelerated depreciation mode (fiscal) degressive_coefficient double(24,8), duration smallint NOT NULL, duration_type smallint DEFAULT 0 NOT NULL, -- 0:annual, 1:monthly, 2:daily