TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Migrate – Sane database/sql migrations for Go

7 点作者 ejholmes将近 9 年前

2 条评论

marcc将近 9 年前
I&#x27;ve been pretty happy with <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;liamstask&#x2F;goose&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;liamstask&#x2F;goose&#x2F;</a> to solve this for us. It&#x27;s an alternate that you can specify different, custom environments and compiles to an executable (not just a library).<p>Honest question: what&#x27;s better about Migrate that I should look at? I read the godoc and the repo, and didn&#x27;t see anything new (compared to Goose).
richardknop将近 9 年前
Looks good.<p>I have written a simple tool to manage database fixtures for Go. It&#x27;s similar to Django&#x27;s fixtures.<p>Might be relevant for some people. Both migrations and fixtures are a needed thing for most projects.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;RichardKnop&#x2F;go-fixtures" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RichardKnop&#x2F;go-fixtures</a>