Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX #26920 use status instead of fk_statut #27929

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions htdocs/install/mysql/migration/19.0.0-20.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,6 @@ ALTER TABLE llx_projet ADD COLUMN ref_ext varchar(50) after ref;

-- bookcal
ALTER TABLE llx_bookcal_calendar ADD COLUMN entity integer DEFAULT 1 NOT NULL AFTER rowid;

ALTER TABLE llx_projet_task ADD COLUMN status smallint DEFAULT 0 NOT NULL AFTER fk_statut;
UPDATE llx_projet_task SET status = fk_statut;
3 changes: 2 additions & 1 deletion htdocs/install/mysql/tables/llx_projet_task.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ create table llx_projet_task
fk_user_creat integer, -- user who created the task
fk_user_modif integer, -- user who modify the task
fk_user_valid integer, -- user who validated the task
fk_statut smallint DEFAULT 0 NOT NULL, -- status of task
fk_statut smallint DEFAULT 0 NOT NULL, -- deprecated status of task
status smallint DEFAULT 0 NOT NULL, -- status of task
note_private text,
note_public text,
rang integer DEFAULT 0,
Expand Down
Loading