Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的团队正在 django 中建立一个网站。我们正在使用 MySql,我们为该项目创建的数据库称为“投票”
我们总是共享代码,但问题是我的项目团队添加到数据库中的任何内容都必须由我再次手动添加,以便使用它。
有什么方法可以将我的团队创建的整个数据库复制到我的系统中?
谢谢
我想到了 3 种方法:
mysqldump
python manage.py loaddata ...