Fix naming

This commit is contained in:
aignatov-bio 2019-12-23 09:20:36 +01:00
parent 54800cb69b
commit 725bb449d5
3 changed files with 3 additions and 2 deletions

View file

@ -129,7 +129,7 @@ class RepositoryDatatableService
cells = RepositoryCell.joins(sorting_data_type::SORTABLE_VALUE_INCLUDE)
.where('repository_cells.repository_column_id': sorting_column.id)
.select("repository_cells.repository_row_id,
string_agg(
STRING_AGG(
#{sorting_data_type::SORTABLE_COLUMN_NAME}, ' '
ORDER BY #{sorting_data_type::SORTABLE_COLUMN_NAME}) AS value")
.group('repository_cells.repository_row_id')

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class CreateRepositoryChecklistColumn < ActiveRecord::Migration[6.0]
class CreateRepositoryChecklists < ActiveRecord::Migration[6.0]
def change
create_table :repository_checklist_values do |t|
t.references :created_by, index: true, foreign_key: { to_table: :users }, null: true

View file

@ -7196,3 +7196,4 @@ INSERT INTO "schema_migrations" (version) VALUES
('20191210103004'),
('20191218072619');