mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 18:21:50 +08:00
Fix naming
This commit is contained in:
parent
54800cb69b
commit
725bb449d5
3 changed files with 3 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -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
|
|
@ -7196,3 +7196,4 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20191210103004'),
|
||||
('20191218072619');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue