Skip to content

Commit

Permalink
update data type of two columns in report_history
Browse files Browse the repository at this point in the history
  • Loading branch information
banders committed Nov 7, 2024
1 parent 26c2335 commit 801fd9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/db/migrations/V1.0.42__report_column_type_changes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ drop view reports_view;
alter table pay_transparency_report alter column user_comment TYPE text;
alter table pay_transparency_report alter column data_constraints TYPE text;

--also alter the corresponding colunms in the history table
alter table report_history alter column user_comment TYPE text;
alter table report_history alter column data_constraints TYPE text;

-- update the comments on the altered columns to note that HTML content is
-- expected
comment on column pay_transparency_report.user_comment is 'User optionally fills this text area on the form, called ''Employer statement'', which is shown at the top of the report. This is for additional information about the employer. Value should be HTML.';
Expand Down

0 comments on commit 801fd9f

Please sign in to comment.