Fogbugz 数据库模式管理
这是一个非常简单的问题,也许这个人自己可以提供对此的见解:)
有谁知道 Fog Creek 如何进行数据库模式管理背后的伪代码吗?
我遇到了一个问题,我试图弄清楚我是否正确处理了它......我有一个模块,每次有人启动他们的网站并检查他们的数据库以确保他们拥有正确的权限时都会运行一个模块发生变化的地方。如果缺少更改,则脚本会进行所需的更改。
我的问题是,我试图将其与 Global.asax 的 session_start 部分联系起来,但有时它似乎相当不稳定,我正在尝试想出一个更好的方案。
作为参考,我正在尝试运行 1 x Web 应用程序,该应用程序可以响应任意数量的主机,其中主机通过元数据库进行映射以找出它属于哪个数据库,然后进行必要的连接。
This is a very simple question, and maybe the man himself can provide insight on this :)
Does anyone know the pseudocode behind how Fog Creek does database schema management?
I'm running into an issue and I'm trying to figure out if I'm handling it right... I have a module that runs each time someone spins up their site and examines their database to make sure that they have the right changes in place. if they are missing changes, then the script makes the required changes.
My issue is that I was trying to tie it to the session_start portion of the Global.asax, but it seems to be rather flaky at times, and I'm trying to come up with a better scenario.
For reference, I'm trying to run 1 x web application that can respond to any number of hosts, where the host maps via a metabase to find out what database it belongs to and then makes the necessary connections.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能会更幸运地在 http://fogbugz.stackexchange.com/ 上提出这个问题
You might have more luck asking this on http://fogbugz.stackexchange.com/