scinote-web/db/migrate
aignatov-bio 01f1b5bd10
Add stock column type (#3786)
* Add stock column type

* Create new stock column [SCI-6410]

* Small fixed for stock column [SCI-6410]

* Add stock column validations [SCI-6410]

Co-authored-by: Anton <anton@scinote.net>
2022-01-18 13:17:05 +01:00
..
20150713060702_devise_create_users.rb
20150713063224_create_organizations.rb
20150713070738_create_user_organizations.rb
20150713071921_create_projects.rb
20150713072417_create_user_projects.rb
20150714125221_add_archive_to_projects.rb
20150715122019_create_logs.rb
20150715124934_create_my_modules.rb
20150715131400_create_project_comments.rb
20150715132459_create_my_module_comments.rb
20150715132920_create_tags.rb
20150715133511_create_my_modules_and_tags.rb
20150715133709_create_my_module_groups.rb
20150715134133_create_connections.rb
20150715135452_create_steps.rb
20150715141810_create_assets.rb
20150715142704_create_step_assets.rb
20150715142929_create_result_assets.rb
20150715143134_create_results.rb
20150716060140_create_result_comments.rb
20150716061004_create_comments.rb
20150716061555_create_step_comments.rb
20150716061937_create_tables.rb
20150716062013_create_checklists.rb
20150716062110_create_checklist_items.rb
20150716062801_create_samples.rb
20150716064453_create_activities.rb
20150716120130_create_sample_my_modules.rb
20150716120659_create_sample_comments.rb
20150717084645_create_result_texts.rb
20150717085043_create_step_tables.rb
20150717085133_create_result_tables.rb
20150722095027_create_user_my_modules.rb
20150722112911_add_foreign_keys.rb
20150723134648_add_confirmable_to_devise.rb
20150730090021_add_my_module_groups_to_project.rb
20150804055341_add_color_to_tags.rb
20150820120553_create_sample_groups.rb
20150820123018_create_sample_types.rb
20150820124022_add_default_columns_to_samples.rb
20150827130647_create_custom_fields.rb
20150827130822_create_sample_custom_fields.rb
20150911125914_add_project_to_tags.rb
20150915074650_create_reports.rb
20150923065605_create_temp_files.rb
20150923110208_add_archive_to_my_modules.rb
20150923154140_add_index_to_sample_name.rb
20150924115001_create_report_elements.rb
20150924181017_add_archive_to_results.rb
20151005122041_add_created_by_to_assets.rb
20151021082639_add_pg_trgm_support.rb
20151021085335_add_search_query_indexes.rb
20151022123530_remove_unique_organization_name_index.rb
20151028091615_add_counter_cache_to_samples.rb
20151103155048_add_btree_gist_extension.rb
20151111135802_reset_assigned_samples_counters.rb
20151117083839_add_project_reference_to_activity.rb
20151119141714_create_asset_text_data.rb
20151130160157_add_text_search_vector_to_asset_text_data.rb
20151203100514_add_workflow_order_to_my_modules.rb
20151207151820_add_timezone_to_user.rb
20151214110800_add_organization_management_support.rb
20151215103642_add_foreign_keys_to_tables.rb
20151215134147_add_text_search_vector_to_tables.rb
20151216095259_generate_text_search_vector_for_table_contents.rb
20160114155705_create_delayed_jobs.rb
20160118114850_remove_private_organizations.rb
20160119101947_add_position_to_checklist_item.rb
20160125200130_devise_invitable_add_to_users.rb
20160125205500_add_empty_field_to_asset.rb
20160201085344_add_tutorial_status_field_to_user.rb
20160205192344_migrate_organizations_structure.rb
20160407063323_create_protocols.rb
20160421100400_add_published_on_to_protocols.rb
20160425133500_add_counter_cache_to_protocols.rb
20160429082100_add_counter_cache_to_protocol_keywords.rb
20160429102200_add_organization_id_to_protocol_keywords.rb
20160513143117_refresh_assigned_samples_counters.rb
20160513165000_rename_duplicate_columns.rb
20160527152000_report_grouping_removal.rb
20160531094100_rename_synced_children_to_linked_children.rb
20160704110900_remove_keywords_from_module_protocols.rb
20160722082700_add_experiment_level.rb
20160803082801_add_experiment_to_report_elements.rb
20160809074757_update_my_module_coordinate.rb
20160928114119_create_notifications.rb
20160928114915_create_user_notifications.rb
20161004074754_add_notifications_settings_to_user.rb
20161006065203_add_email_notification_settings_to_user.rb
20161011074804_add_current_organization_to_user.rb
20161012112900_add_email_system_notification_setting_to_user.rb
20161123161514_create_samples_tables.rb
20161125153600_rename_non_unique_sample_types_groups.rb
20161129111100_add_wopi.rb
20161129171012_add_authentication_token_to_users.rb
20161208145354_add_processing_to_assets.rb
20170105162500_add_index_to_users_full_name.rb
20170116143350_add_name_to_tables.rb
20170124135736_rename_organization_to_team.rb
20170207100731_add_state_to_tasks.rb
20170217141402_create_settings_table.rb
20170306121855_convert_comments_to_sti_model.rb
20170321131116_create_zip_exports.rb
20170322095856_add_team_id_to_asset_and_tables.rb
20170330092353_remove_logs_table.rb
20170404150845_remove_default_user_project_role_value.rb
20170407082423_update_indexes_for_faster_search.rb
20170407104322_remove_default_checklist_item_position_value.rb
20170418153541_add_experiment_to_activities.rb
20170420075905_add_attachment_image_to_tiny_mce_assets.rb
20170515073041_add_experiments_order_to_projects.rb
20170515141252_add_custom_repositories.rb
20170619125051_add_search_indexes_to_repositories.rb
20170803153030_add_user_identity_table.rb
20170809131000_refactor_user_settings.rb
20171003082333_add_connections_and_sample_tasks_indexes.rb
20171005135350_update_my_module_groups.rb
20171026090804_create_datatables_teams.rb
20180109102914_remove_tutorial_status_from_user.rb
20180207095200_create_repository_list_values.rb
20180308094354_create_repository_asset_values.rb
20180416114040_add_team_id_to_reports.rb
20180524091143_add_discard_to_repositories.rb
20180806115201_change_primary_key_to_bigint_on_repositories.rb
20180813120338_create_doorkeeper_tables.rb
20180905142400_add_tooltips_enabled_to_user_settings.rb
20180930205254_add_variables_to_users.rb
20181008130519_create_view_states.rb
20181212162649_remove_datatables_reports_view.rb
20190116101127_add_project_templates.rb
20190117155006_change_indices_from_int_to_bigint.rb
20190125122852_create_system_notifications.rb
20190125123107_create_user_system_notifications.rb
20190213064847_change_table_activities.rb
20190227110801_remove_null_constraint_from_project_in_activities.rb
20190227125306_add_unique_index_on_user_teams.rb
20190227125352_add_unique_index_on_user_projects.rb
20190304153544_add_demo_flag_to_project.rb
20190307102521_add_column_saved_to_tiny_mce_asset.rb
20190308092130_add_polymorphic_to_tiny_mce_asset.rb
20190410110605_add_column_quality_to_asset.rb
20190424113216_add_unique_index_to_system_notifications.rb
20190520135317_add_type_to_zip_exports.rb
20190613094834_create_active_storage_tables.active_storage.rb
20190613134100_convert_to_active_storage.rb
20190711125513_create_team_repositories.rb
20190715150326_add_unique_index_to_team_repositories.rb
20190726102200_remove_samples_from_db.rb
20190812065432_add_share_flag_to_repository.rb
20190812072649_add_indexes_to_sharing_columns.rb
20190830141257_update_trim_html_tags_function.rb
20190903145834_convert_activities_json_to_jsonb.rb
20190910125740_add_foreign_key_constraint_to_active_storage_attachments_for_blob_id.active_storage.rb
20191001133557_remove_unused_references_from_tiny_mce_assets.rb
20191003091614_create_repository_status_items.rb
20191007144622_create_repository_status_values.rb
20191023162335_remove_paperclip_columns.rb
20191105143702_add_delimiter_to_repository_column.rb
20191115143747_create_repository_date_time_range_values.rb
20191204112549_create_repository_number_value.rb
20191205133522_create_repository_checklists.rb
20191206105058_add_type_to_repository_date_time_value.rb
20191210103004_add_metadata_to_repository_column.rb
20191218072619_remove_delimiter_from_repository_column.rb
20200113143828_add_indices_for_numbers_in_repositories.rb
20200204100934_fix_and_update_indices_on_activities.rb
20200326114643_add_start_date_to_task.rb
20200331183640_add_repository_snapshots.rb
20200603125407_add_archive_to_repository.rb
20200604210943_add_archive_to_repository_row.rb
20200622140843_add2fa_to_users.rb
20200622155632_repository_table_state_update.rb
20200709142830_add_otp_recovery_codes_to_users.rb
20200713142353_create_task_flows_models.rb
20200714082503_add_lockable_to_user.rb
20200826143431_migrate_task_status.rb
20200902093234_add_view_mode_to_asset.rb
20200909121441_add_status_changing_flag_to_my_module.rb
20201027133634_add_assets_view_mode_to_step.rb
20201028103608_create_project_folders.rb
20201126203713_add_unseen_by_to_comments.rb
20201209165626_add_archived_flag_to_project_folders.rb
20201215161050_add_pdf_preview_processing_flag_to_asset.rb
20210128105457_add_service_name_to_active_storage_blobs.active_storage.rb
20210128105458_create_active_storage_variant_records.active_storage.rb
20210202214508_create_user_roles_and_assignments.rb Merge migrations as 'assigned' is needed in new user roles migration [SCI-6127] (#3583) 2021-10-08 15:15:21 +02:00
20210217114042_update_doorkeeper_table.rb
20210222123822_add_default_public_user_role_to_projects.rb Renamed 'group_user_role', fixed public project migration [SCI-6234] (#3642) 2021-11-10 09:52:37 +01:00
20210222123823_migrate_to_new_user_roles.rb Make all except public project assignments manual [SCI-6292] 2021-11-23 10:56:28 +01:00
20210312185911_add_processing_flags_to_report.rb
20210325152257_add_report_template_values.rb
20210407143303_add_settings_to_reports.rb
20210410100006_fix_last_changed_by_on_steps.rb
20210506125657_add_default_settings_to_old_reports.rb
20210531114633_create_activity_filters.rb
20210603152345_create_webhooks_table.rb
20210616071836_add_error_info_to_webhooks_and_rename_method_column.rb Removed auto-disable, fixed ActiveJob + DelayedJob retry handling [SCI-5800] 2021-07-22 13:43:36 +02:00
20210622101238_fix_experiment_indices.rb Fix migration rollback [SCI-5828] 2021-06-30 10:37:11 +02:00
20210715125349_add_repository_row_code_index.rb Added prefixed IDs to repository rows (items) [SCI-5909] (#3441) 2021-07-19 14:23:36 +02:00
20210716124649_create_label_templates.rb Fix default label template [SCI-6025] 2021-08-30 10:38:59 +02:00
20210720112050_create_label_printers.rb Print status backend + FE integration [SCI-5942] 2021-08-02 15:42:53 +02:00
20210811103123_downcase_user_emails.rb Downcase all user emails, downcase when finding user [SCI-5963] 2021-08-11 13:18:58 +02:00
20210906132120_add_unique_constraint_to_repository_cell.rb Prevent creation of duplicated repository cells [SCI-6036] 2021-09-09 14:24:35 +02:00
20211103115450_add_secret_key_to_webhooks.rb Added optional webhook secret key [SCI-6193] 2021-11-03 15:04:13 +01:00
20220110151006_add_repository_stock_management.rb Add initial implementation of inventory stock management [SCI-6402] 2022-01-12 17:13:50 +01:00
20220117103522_create_repository_stock_unit_items.rb Add stock column type (#3786) 2022-01-18 13:17:05 +01:00