mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-10 08:03:28 +00:00
12 lines
277 B
Ruby
12 lines
277 B
Ruby
|
# 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
|