Skip to content

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

@MaxLap

Description

@MaxLap

In my config, I have config.active_record.schema_format = :sql

When running bin/rails solid_cache:install, it creates a db/cache_schema.rb, which appears to then be swiftly ignored by Rails' db:prepare task.

As a result, the database gets created, but is empty... which leads to problems :)

I don't know if sql mode can be supported or not. But if not, I would suggest raising and error in bin/rails solid_cache:install is that config is :sql.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions