在 .NET 项目上使用活动记录迁移

发布于 2024-09-02 10:37:52 字数 221 浏览 1 评论 0原文

我想在使用 Oracle 数据库的 .net 项目上使用像数据库迁移一样的 Rails。环顾了一些框架,如 migratior.net(显然没有经过 Oracle 的充分测试),我决定尝试使用 Rails Active Record,因为它看起来可能是最受支持的框架。

我的问题是,如果我只想使用 Rails 中的数据库迁移部分,我是否必须安装整个 Rails 框架,还是只需要某些软件包?

谢谢

I want to use the rails like database migrations on a .net project which uses an oracle database. Looking around at some of the frameworks like migratior.net (which apparently isn't well tested with oracle) I've decided to just try and use the rails active record as it looks like it's probably the most supported framework around.

My question is, if I just want to use the database migrations part from rails, do I have to install the whole rails framework or are there only certain packages I need?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一抹微笑 2024-09-09 10:37:52

几个链接:

Dave Thomas 讨论这个

非 Rails 项目中的 Rails 迁移

如果您可以采用稍微不同的方法,您可以查看“Data Dude”的 Oracle 扩展 Visual Studio 中的架构合并功能。

A couple of links:

Dave Thomas discussing this

Rails Migrations in non-Rails projects

If you're okay with a slightly different approach, you could look at the Oracle extensions for the 'Data Dude' schema merging functionality in Visual Studio.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文