migrations
SQL database migrations for Golang go-pg and PostgreSQL (by go-pg)
gobuffalo/pop
A Tasty Treat For All Your Database Needs (by gobuffalo)
Our great sponsors
migrations | gobuffalo/pop | |
---|---|---|
2 | 5 | |
307 | 1,406 | |
0.3% | 0.6% | |
0.0 | 1.3 | |
6 months ago | about 2 months ago | |
Go | Go | |
BSD 2-clause "Simplified" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
migrations
Posts with mentions or reviews of migrations.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-22.
-
Migrations
With database created, we also need to create tables in which our data will be store. And best way to do that is using migrations. We will be using go-pg/migrations module. On GitHub page you can find basic installation and usage guide, and we will use that. Let's start by creating new directory migrations/ inside of project root and file file migrations/main.go:
-
Go Tools: For database schema migrations
github.com/go-pg/migrations: Package (Explicit SQL),
gobuffalo/pop
Posts with mentions or reviews of gobuffalo/pop.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-18.
-
Best Orm that uses Graphql and Postgres
I've also used https://github.com/gobuffalo/pop for an on-hold side project.
- Most recommended database migration tool? using golang for the record
- Looking for some ORM/db access layer suggestions
-
A good ORM for Golang?
Pop is the orm packaged with buffalo, it has some documentation https://github.com/gobuffalo/pop
-
Go Tools: For database schema migrations
github.com/gobuffalo/pop: CLI (DSL + Explicit SQL), and
What are some alternatives?
When comparing migrations and gobuffalo/pop you can also consider the following projects:
tern - The SQL Fan's Migrator
GORM - The fantastic ORM library for Golang, aims to be developer friendly
videos - Slides and examples used for my training videos
SQLBoiler - Generate a Go ORM tailored to your database schema.
go-pg - Golang ORM with focus on PostgreSQL features and performance
pop/soda - A Tasty Treat For All Your Database Needs
retool - Retool: a better filter tool for Redump and No-Intro DAT files.
beego orm
gomodel
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
gormt - database to golang struct