---
title: "修改Nashvegas支持postgres数据库"
author: "maplye"
date: "2009-08-12T17:16:52Z"
tags: []
slug: "nashvegas-postgres"
draft: false
lastmod: "2009-08-12T17:16:52Z"
id: 445745
url: "https://maplye.iteye.com/blog/445745"
---

Nashvegas: A Simple Django Migration Tool

 

介绍:

[http://paltman.com/2009/feb/24/nashvegas-a-simple-django-migration-tool/](http://paltman.com/2009/feb/24/nashvegas-a-simple-django-migration-tool/)

 

就是采用创建sql文件的方式进行数据库的迁移.

 

Git库地址:

[http://github.com/paltman/nashvegas/tree/master](http://github.com/paltman/nashvegas/tree/master)

 

 

Nashvegas比较简单易懂,正好有项目具有在开发数据库和应用数据库同步数据结构的困扰,所以决定拿来用用.

 

但发现一些问题,并且不支持postgres.

 

根据自己的需要修改了几个地方,源代码如下:

[http://github.com/maplye/nashvegas/tree/master](http://github.com/maplye/nashvegas/tree/master)