diff --git a/db/migrate/20260126082816_add_description_to_projects.rb b/db/migrate/20260126082816_add_description_to_projects.rb new file mode 100644 index 0000000..2692093 --- /dev/null +++ b/db/migrate/20260126082816_add_description_to_projects.rb @@ -0,0 +1,5 @@ +class AddDescriptionToProjects < ActiveRecord::Migration[8.1] + def change + add_column :projects, :description, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 2e3d7dd..7379b52 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,9 +10,10 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.1].define(version: 2026_01_26_072814) do +ActiveRecord::Schema[8.1].define(version: 2026_01_26_082816) do create_table "projects", force: :cascade do |t| t.datetime "created_at", null: false + t.string "description" t.string "project_name" t.datetime "updated_at", null: false end