Closed Skye-31 closed 1 year ago
Latest commit: 86b9738743649d769fd06f1d7356d97b6f5115c4
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Latest commit: |
86b9738
|
Status: | ✅ Deploy successful! |
Preview URL: | https://2b9fc784.d1-orm.pages.dev |
Branch Preview URL: | https://feat-unique-keys-refactor.d1-orm.pages.dev |
Closes #53
This change restructures the way that primary keys, auto increment keys and unique keys are provided. This allows for multiple unique keys to be provided for a model. These fields have been moved from the ModelColumn type to the first parameter in the Model constructor.
This also fixes non-string default values, such as numbers & booleans, by suppling them as is
Docs
These are now located at https://docs.interactions.rest/d1-orm/