discourse/plugins/discourse-ai/db/migrate/20250508182047_create_inferred_concepts_table.rb
2025-07-22 15:07:59 +02:00

11 lines
277 B
Ruby
Vendored

# frozen_string_literal: true
class CreateInferredConceptsTable < ActiveRecord::Migration[7.2]
def change
create_table :inferred_concepts do |t|
t.string :name, null: false
t.timestamps
end
add_index :inferred_concepts, :name, unique: true
end
end