mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
[PR #421] [MERGED] Fix compound indexes for dynamic models #505
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JohnEstropia/CoreStore/pull/421
Author: @xquezme
Created: 4/5/2021
Status: ✅ Merged
Merged: 7/20/2021
Merged by: @JohnEstropia
Base:
develop← Head:develop📝 Commits (1)
6a23940fix compound indexes for dynamic models📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
CoreStoreTests/DynamicModelTests.swift(+1 -1)📝
Sources/CoreStoreSchema.swift(+1 -1)📄 Description
Right now if you try to create any compound index for core store dynamic model you will receive syntax error. This because "-" is prohibited and caused syntax error. For instance, for
Dogmodel inDynamicModelTests.swiftyou will receive this error:Let's use "_" instead.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.