diff --git a/db/migrate/20240129014151_journal_add_description_to_entry.rb b/db/migrate/20240129014151_journal_add_description_to_entry.rb index a22df9498..03ef6878c 100644 --- a/db/migrate/20240129014151_journal_add_description_to_entry.rb +++ b/db/migrate/20240129014151_journal_add_description_to_entry.rb @@ -1,5 +1,5 @@ class JournalAddDescriptionToEntry < ActiveRecord::Migration[7.1] def change - add_column :journal_entries, :description, :text + add_column :journal_entries, :summary, :text end end diff --git a/db/schema.rb b/db/schema.rb index 8b17c6771..ea83afecc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -116,7 +116,7 @@ t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "keywords", array: true - t.text "description" + t.text "summary" t.index ["journal_id"], name: "index_journal_entries_on_journal_id" end