We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1967500 + 17ee99b commit 0118cbcCopy full SHA for 0118cbc
2 files changed
db/migrate/20250430110802_add_pg_stat_statements_extension.rb
@@ -0,0 +1,17 @@
1
+class AddPgStatStatementsExtension < ActiveRecord::Migration[7.0]
2
+ def change
3
+ reversible do |direction|
4
+ direction.up do
5
+ execute <<-SQL
6
+ CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
7
+ SQL
8
+ end
9
+
10
+ direction.down do
11
12
+ DROP EXTENSION pg_stat_statements;
13
14
15
16
17
+end
db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[7.0].define(version: 2025_03_15_124619) do
+ActiveRecord::Schema[7.0].define(version: 2025_04_30_110802) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
enable_extension "plpgsql"
0 commit comments