mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
13 lines
288 B
Ruby
13 lines
288 B
Ruby
class CreateDocumentConcepts < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :document_concepts do |t|
|
|
t.references :document_analysis, foreign_key: true
|
|
t.string :text
|
|
t.float :relevance
|
|
t.string :reference_link
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|