dresende / node-sql-ddl-sync

NodeJS SQL DDL Synchronization
MIT License
13 stars 16 forks source link

Rename primary to key & keys #11

Closed dxg closed 10 years ago

dxg commented 10 years ago

Key properties are marked by setting property.key = true in orm2. This change applies the same naming convention here.

Also, in certain places, primary was an array rather than a boolean property. I renamed it to keys to make the code easier to read.

dxg commented 10 years ago

Tests pass except node 0.6 which has some weird SSL cert error in Travis.