项目地址:https://github.com/andrecarlucci/sharpmigrations
简介:
Sharp migrations is a framework to help you deal with database changes and versioning over time. The idea comes from the excellent Ruby on Rail's migrations and it is the best way to alter your database in a structured and organised manner.
The commands you can in this class are:
- Add Column
- Add Table
- Add PrimaryKey
- Add ForeignKey
- Add UniqueKey
- Add IndexKey
- Add Comment
- Rename Table
- Rename Column
它能很方便的管理数据表,进行便捷的数据迁移和表变更记录,具体看官网应用;
它依赖
Sharp Data
,它是sharpmigrations的一个库,可独立出来哦