WIP: Include pghero in the local environment #219
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024 Manuel Bustillo
|
||||||
|
|
||||||
class EnablePgStatStatements < ActiveRecord::Migration[8.0]
|
class EnablePgStatStatements < ActiveRecord::Migration[8.0]
|
||||||
def change
|
def change
|
||||||
enable_extension 'pg_stat_statements'
|
enable_extension 'pg_stat_statements'
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024 Manuel Bustillo
|
||||||
|
|
||||||
class CreatePgheroStatsTables < ActiveRecord::Migration[8.0]
|
class CreatePgheroStatsTables < ActiveRecord::Migration[8.0]
|
||||||
def up
|
def up
|
||||||
execute <<~SQL
|
execute <<~SQL
|
||||||
|
2
db/schema.rb
generated
2
db/schema.rb
generated
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024 Manuel Bustillo
|
||||||
|
|
||||||
# This file is auto-generated from the current state of the database. Instead
|
# 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
|
# of editing this file, please use the migrations feature of Active Record to
|
||||||
# incrementally modify your database, and then regenerate this schema definition.
|
# incrementally modify your database, and then regenerate this schema definition.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user