Code style fixes [SCI-5828]

This commit is contained in:
Martin Artnik 2021-06-18 14:19:35 +02:00
parent afc1b2d8b6
commit a9d6c4bb94
2 changed files with 6 additions and 3 deletions

View file

@ -41,14 +41,15 @@
.dropdown-menu {
.form-dropdown-break hr {
margin-top: 0;
margin-bottom: 8px;
margin-top: 0;
}
.form-dropdown-item {
padding: 0 !important;
button, .form-dropdown-item-info {
button,
.form-dropdown-item-info {
border-radius: 0;
padding-left: .9em;
text-align: left;

View file

@ -1,5 +1,7 @@
# frozen_string_literal: true
class AddCodeIndexToExperiments < ActiveRecord::Migration[6.1]
def change
add_index :experiments, "('EX' || id)", name: "index_experiments_on_experiment_code", unique: true
add_index :experiments, "('EX' || id)", name: 'index_experiments_on_experiment_code', unique: true
end
end