From 75c0c25837060f6f6e7d053ba5d43aff5fd6005c Mon Sep 17 00:00:00 2001 From: Zain Fathoni Date: Sun, 6 Oct 2024 01:16:25 +0700 Subject: [PATCH] Migrate database bin/rails db:migrate --- db/schema.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index c22c104..68e1e6d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,14 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.0].define(version: 2024_10_05_181034) do +ActiveRecord::Schema[8.0].define(version: 2024_10_05_181539) do + create_table "articles", force: :cascade do |t| + t.string "title" + t.text "body" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + create_table "reports", force: :cascade do |t| t.integer "year" t.integer "term"