From 9a7e9b42370483eda93f9c9d4ae95fad0b27f004 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 24 Apr 2024 08:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AE=B0=E5=BD=95=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E6=9C=9F=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/202404242314923_add_index_created_commit_logs.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/202404242314923_add_index_created_commit_logs.rb diff --git a/db/migrate/202404242314923_add_index_created_commit_logs.rb b/db/migrate/202404242314923_add_index_created_commit_logs.rb new file mode 100644 index 000000000..572347b33 --- /dev/null +++ b/db/migrate/202404242314923_add_index_created_commit_logs.rb @@ -0,0 +1,5 @@ +class AddIndexCreatedCommitLogs < ActiveRecord::Migration[5.2] + def change + add_index :commit_logs, :created_at + end +end