mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Add last_transition_error column to tasks [SCI-6610] (#3949)
This commit is contained in:
parent
91c97f1dea
commit
186898b442
2 changed files with 17 additions and 4 deletions
7
db/migrate/20220321122111_add_error_metadata_to_tasks.rb
Normal file
7
db/migrate/20220321122111_add_error_metadata_to_tasks.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddErrorMetadataToTasks < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :my_modules, :last_transition_error, :jsonb
|
||||
end
|
||||
end
|
|
@ -989,7 +989,8 @@ CREATE TABLE public.my_modules (
|
|||
started_on timestamp without time zone,
|
||||
my_module_status_id bigint,
|
||||
status_changing boolean DEFAULT false,
|
||||
changing_from_my_module_status_id bigint
|
||||
changing_from_my_module_status_id bigint,
|
||||
last_transition_error jsonb
|
||||
);
|
||||
|
||||
|
||||
|
@ -1733,7 +1734,9 @@ CREATE TABLE public.repository_date_time_range_values (
|
|||
created_by_id bigint,
|
||||
created_at timestamp(6) without time zone NOT NULL,
|
||||
updated_at timestamp(6) without time zone NOT NULL,
|
||||
type character varying
|
||||
type character varying,
|
||||
start_time_dup timestamp without time zone,
|
||||
end_time_dup timestamp without time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -1767,7 +1770,8 @@ CREATE TABLE public.repository_date_time_values (
|
|||
updated_at timestamp without time zone,
|
||||
created_by_id bigint NOT NULL,
|
||||
last_modified_by_id bigint NOT NULL,
|
||||
type character varying
|
||||
type character varying,
|
||||
data_dup timestamp without time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -7978,6 +7982,8 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20210906132120'),
|
||||
('20211103115450'),
|
||||
('20211123103711'),
|
||||
('20220203122802');
|
||||
('20220203122802'),
|
||||
('20220217104635'),
|
||||
('20220321122111');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue