
The internal title is designed to provide an alternative title for teachers. It is not exposed to learners.
9 lines
250 B
Ruby
9 lines
250 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddInternalTitleToExercises < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :exercises, :internal_title, :string
|
|
add_index :exercises, :internal_title, using: :gin, opclass: :gin_trgm_ops
|
|
end
|
|
end
|