Skip to content

Add migration for new inventory table state [SCI-13452] - #9686

Closed
aignatov-bio wants to merge 1 commit into
scinote-eln:features/inventory-table-revampfrom
aignatov-bio:ai-sci-13452-migrate-table-settings
Closed

Add migration for new inventory table state [SCI-13452]#9686
aignatov-bio wants to merge 1 commit into
scinote-eln:features/inventory-table-revampfrom
aignatov-bio:ai-sci-13452-migrate-table-settings

Conversation

@aignatov-bio

@aignatov-bio aignatov-bio commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Jira ticket: SCI-13452

What was done

Add migration for new inventory table state

Test migration took - 18 seconds

repository_default_state << default_column_state.call("col_#{column.id}")
end

repository.repository_table_states.find_each do |table_state|

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/BlockLength: Block has too many lines. [35/25]

basic_columns << default_column_state.call(name)
end

Repository.find_each do |repository|

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/BlockLength: Block has too many lines. [41/25]

@aignatov-bio
aignatov-bio force-pushed the ai-sci-13452-migrate-table-settings branch from 5e366b7 to 744b8d4 Compare September 2, 2026 09:03
@aignatov-bio
aignatov-bio deleted the ai-sci-13452-migrate-table-settings branch September 2, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants