Drupal在Git上,怎么处理数据库? [英] Drupal on Git, what to do with the database?
问题描述
我该怎么做? >
也许我应该让Drupal在SQLite上开发工作;那么我们可以将SQLite文件添加到Git存储库。
而不是在数据库级别工作来存储你的站点>组件,使用代码。借助于 exportables 的视图,内容类型,字段,输入格式等=nofollow noreferrer>功能模块。
请参阅发展 - >分段 - >生产工作流程问题在Drupal 和所述代码驱动开发:在Drupal 6和7中有效地使用特性演示。
I'm currently developing a Drupal website with a couple of people on Git; it is important that this website would be using the same database without the path because each developer has the dev version on another directory.
How should I do it?
Perhaps I should make Drupal work with SQLite on the development only; then we could add the SQLite file to the Git repository.
Instead of working at the database level to store your site components, use code. Drupal has now great supports for exportables for views, content type, fields, input formats, etc. with the help of the features module.
See The Development -> Staging -> Production Workflow Problem in Drupal and the Code driven development: using Features effectively in Drupal 6 and 7 presentation.
这篇关于Drupal在Git上,怎么处理数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!