2.7 breaks the SQL macro on read-only datasources

Description

The workaround is to switch back to 2.6.5 temporarily.

Environment

None

Observations

  • Use a database with no playsql_settings table,

  • Define a read-only datasource,

  • Define a query for this datasource,

  • The query can't run.

The behaviour is different whether it uses Postgres databases or not. If not, it displays an SQL error; If yes, it displays "This datasource is read-only".

Assignee

Adrien Ragot (Play SQL / Requirement Yogi)

Reporter

Adrien Ragot (Old account)

Labels

None

Participants

None

Components

Fix versions

Affects versions

Priority

Configure