Drupal on Git, what to do with the database?

前端 未结 2 882
失恋的感觉
失恋的感觉 2021-01-31 00:15

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 devel

2条回答
  •  抹茶落季
    2021-01-31 01:06

    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.

提交回复
热议问题