Skip to content

Conversation

@djmb
Copy link
Collaborator

@djmb djmb commented Nov 6, 2025

As with the schema format, we'll just add a structure file containing the SQL for creating the cache tables as this will work with bin/rails db:prepare even if you only run the cache database in production.

We bundle the SQL files for MySQL, PostgreSQL, and SQLite - they are generated with bin/generate_sql_schemas.

Fixes: #228

@djmb djmb force-pushed the install-with-sql-format branch 2 times, most recently from 4ad89ab to 542aca0 Compare November 6, 2025 15:55
As with the schema format, we'll just add a structure file containing
the SQL for creating the cache tables as this will work with
`bin/rails db:prepare` even if you only run the cache database in
production.

We bundle the SQL files for MySQL, PostgreSQL, and SQLite - they are
generated with `bin/generate_sql_schemas`.
@djmb djmb force-pushed the install-with-sql-format branch from 542aca0 to c8ec2ef Compare November 6, 2025 15:59
@djmb djmb merged commit f3d5aaa into main Nov 6, 2025
79 of 80 checks passed
@djmb djmb deleted the install-with-sql-format branch November 6, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bin/rails solid_cache:install doesn't respect schema_format = :sql

2 participants