README.md in databasion-0.2.0 vs README.md in databasion-0.2.1

- old
+ new

@@ -18,10 +18,11 @@ * ActiveRecord >= 2.3.5 * ActiveSupport >= 2.3.5 * Google Spreadsheet >= 0.1.2 * Spreadsheet >= 0.6.4.1 +* Composite Primary Keys >= 3.0.9 ## Installation ### Install @@ -74,11 +75,11 @@ |:---------|:------------|:-------------|:-------------------|:-------- | ignore | | | | testing | comment | | | | | table | superheroes | | | | index | yes | | | -| field | id | name | power | cape +| field | id, primary | name | power | cape | type | integer | string, 20 | string, 20, Wimp | boolean | | 1 | Brian Jones | Ruby Hacker | false | | 2 | Superman | Invincible | true | | 3 | Batman | Rich | true | testing | 4 | Hulk | Huge | false @@ -87,11 +88,11 @@ * ignore - Anything written in this column will cause this column and it's data to be ignored, with the exception of _environment names_. See the Environment and Version Control section below for further usage. * comment - Ideally a description of the field, what the values means, etc. * table - The name of the table, and an optional comma delimited 'false' if the table name should not be auto-pluralized. * index - This will create an index on the designated field. If a multi-index is required, indices will be grouped by unique names. Multiple multi-indices are possible. -* field - The name of the table column, with an optional comma delimited 'auto' or 'primary' parameter. Auto is strictly limited to an 'id' field, and enables auto incrementation. +* field - The name of the table column, with an optional comma delimited 'auto' or 'primary' parameter. Auto is strictly limited to an 'id' field, and enables auto incrementation. At least one field _must_ be labeled 'primary' or 'auto', otherwise the system will bail while trying to build that table. * type - A comma delimited list giving the type of the column (using Ruby migration terms), optional size, and optional default value. __Ruby Migration Types__ * binary @@ -170,10 +171,10 @@ |:-------------|:------------|:-------------|:-------------------|:--------|:---------------------- | ignore | | | | test | brian_test, bojo_test | comment | | | | | | table | superheroes | | | | | index | yes | | | | - | field | id | name | power | cape | mask + | field | id, primary | name | power | cape | mask | type | integer | string, 20 | string, 20, Wimp | boolean | boolean | | 1 | Brian Jones | Ruby Hacker | false | false | | 2 | Superman | Invincible | true | false | | 3 | Batman | Rich | true | true | brian_test | 4 | Hulk | Huge | false | false