Skip to content

Commit cf8900c

Browse files
authored
Update SQLite quickstart.md to caution reserved words as column names
I suggest that FF team in the future to include a list of works that are problematic.
1 parent e070b94 commit cf8900c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/ff-integrations/database/local-sql/quickstart.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ com/embed/c5f43ee65e954df2856d78e035ab8bba?sid=fcaccfa1-fb0c-4f67-9953-d51e7227e
5656

5757
<p></p>
5858

59+
:::caution
60+
Use caution when defining column names in SQLite databases. Some common reserved words such as `type` and `data` will cause build errors.
61+
:::
62+
63+
<p></p>
64+
5965
:::info[Important to note]
6066
SQLite does not have dedicated date-time or boolean data types. For storing date-time values like `DueDate`, we use the integer data type and represent the date-time as a [**UNIX timestamp**](https://www.unixtimestamp.com/). Similarly, for boolean values, such as checking if a note is completed, SQLite uses integers where `0` represents `false` (or not completed) and `1` represents `true` (or completed).
6167
:::

0 commit comments

Comments
 (0)