dbmigrate

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package dbmigrate applies versioned Postgres schema migrations (goose SQL under sql/). Production schema is those files, not GORM AutoMigrate. Existing databases created by AutoMigrate are stamped at version 1 (the baseline dump) without re-running CREATE TABLE; later files (00002+) still apply.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Up

func Up(db *gorm.DB) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL