SkillAgentSearch skills...

Trek

Opinionated tool for database structure management and migrations

Install / Use

/learn @stack11/Trek
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

trek

This project has moved to github.com/printeers/trek.

Requirements

At least version 13 of postgres is needed.

Installation

go install .

Setup

Create trek.yaml:

model_name: <model_name>
db_name: <db_name>
db_users:
  - <db_user_1>
  - <db_user_2>

Create <model_name>.dbm using pgModeler.

Creating migrations

trek generate some-migration

Use the --dev flag to continuously watch for file changes.

Applying the migrations

Take a look at the example/ directory.

View on GitHub
GitHub Stars5
CategoryData
Updated2y ago
Forks1

Languages

Go

Security Score

60/100

Audited on Aug 4, 2023

No findings