Rails::Generators::Database::PostgreSQL (original) (raw)

Methods

B

F

G

N

P

S

T

Instance Public methods

Source: show | on GitHub

def base_package "postgresql-client" end

Source: show | on GitHub

def feature_name "ghcr.io/rails/devcontainer/features/postgres-client" end

Source: show | on GitHub

def service { "image" => "postgres:16.1", "restart" => "unless-stopped", "networks" => ["default"], "volumes" => ["postgres-data:/var/lib/postgresql/data"], "environment" => { "POSTGRES_USER" => "postgres", "POSTGRES_PASSWORD" => "postgres" } } end

Source: show | on GitHub

def template "config/databases/postgresql.yml" end