Skip to content

Reserved SQL keywords are not being handled in the dynamic creation of tables #1

@tylertreat

Description

@tylertreat

What steps will reproduce the problem?

  1. Create a persistent model which has a field with the name of a reserved SQL/SQLite keyword.
  2. Delete the SQLite database (if it already exists for the app).
  3. Open the database in the application (this will prompt Infinitum to create the database).

What is the expected output? What do you see instead?
A ModelConfigurationException should be thrown with a description stating that reserved SQL keywords may not be used as field names. Instead, a different error is thrown by SQLite since the table creation failed.

This should be addressed in SqliteBuilder.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions