WIP: Include pghero in the local environment #219

Draft
bustikiller wants to merge 5 commits from pghero-docker into main
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 0c5162b326 - Show all commits

View File

@ -0,0 +1,5 @@
class EnablePgStatStatements < ActiveRecord::Migration[8.0]
def change
enable_extension 'pg_stat_statements'
end
end

7
db/schema.rb generated
View File

@ -1,7 +1,3 @@
# Copyright (C) 2024 Manuel Bustillo
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
@ -14,9 +10,10 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2024_12_16_231415) do
ActiveRecord::Schema[8.0].define(version: 2025_01_22_202836) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"
enable_extension "pg_stat_statements"
# Custom types defined in this database.
# Note that some types may not work with other database engines. Be careful if changing database.