rubenv/sql-migrate
View on GitHub ↗ ★ 3,415 Go
SQL schema migration tool for Go.
9 mentions on Hacker News by 9 people: 2 stories, 7 comments · first 2014-09-15 · latest 2019-05-10
20082026
-
We use https://github.com/rubenv/sql-migrate for Go You basically write SQL queries for up and down.
comment by pier25 · 2019-05-10 · in Ask HN: How does your development team handle database migrations? -
…as downloading a 400Kb patch and applying it (software can do it). For schema migration, I like https://github.com/rubenv/sql-migrate which can be used as a library. Therefore, the migration can be part of the binary patch in an update. So…
comment by alain_gilbert · 2018-10-05 · in Ask HN: What's the best way in 2018 to distribute a self-host web application? -
…which helps deals with row<=>struct conversion. For database migrations, I use https://github.com/rubenv/sql-migrate , but if you need an ORM gorm https://github.com/jinzhu/gorm is OK if you do code first and sqlboiler https://github.com
comment by nostalgeek · 2018-07-14 · in Ask HN: What is the current state of web frameworks in Golang? -
https://godoc.org/github.com/rubenv/sql-migrate
comment by camus2 · 2017-09-07 · in Ask HN: What Go framework for web API are you using in production? -
…https://www.npmjs.com/package/sql-migrations (2) https://flywaydb.org/documentation/migration/sql (3) https://github.com/rubenv/sql-migrate
comment by binarray2000 · 2017-09-07 · in Ask HN: What Go framework for web API are you using in production? -
how does it differentiate from * https://github.com/mattes/migrate * https://github.com/rubenv/sql-migrate * https://github.com/pressly/goose
comment by arekkas · 2016-10-27 · in Show HN: Rambler – A simple and language-independent SQL schema migration tool -
Basically a copy of SQL migrate : https://github.com/rubenv/sql-migrate I'm not sure which tool came first in the Go community. While I'm not a big Go fan, this is precisely how Go can be handy sometimes, by allowing easy distribution of…
comment by aikah · 2016-10-27 · in Show HN: Rambler – A simple and language-independent SQL schema migration tool