What is db/development_structure.sql in a rails project?

后端 未结 4 944
無奈伤痛
無奈伤痛 2020-12-29 06:33

There is a development_structure.sql inside my /db folder of my rails application (rails 2.3.4, ruby 1.8.7) and I am not sure exactly what it does.

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-29 07:05

    It's created when you run a rake task to clone your development database to your test database. The development database is outputted to SQL which is then read in to your test DB. You can safely delete it.

提交回复
热议问题