mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Minor changes to a tip in the README
This commit is contained in:
1 parent
86d0fedfbb
commit
c39db96521
1 file changed
+1
-1
@@ -4188,7 +4188,7 @@ try db.create(table: "example") { t in ... }
|
||||
try db.create(table: "example", temporary: true, ifNotExists: true) { t in ... }
|
||||
```
|
||||
|
||||
> :bulb: **Tip**: database table names should be singular, and camel-cased. Make them look like Swift identifiers: `place`, `country`, `postalAddress`, 'httpRequest'.
|
||||
> :bulb: **Tip**: database table names should be singular, and camelCased. Make them look like Swift identifiers: `place`, `country`, `postalAddress`, `httpRequest`.
|
||||
>
|
||||
> This will help you using [Associations] when you need them. Database table names that follow another naming convention are totally OK, but you will need to perform extra configuration.
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user