Skip to content

SQLite3 error #1424

Open
Open

Description

@MtnBiker

SQLite3 is supported now according to the change comments.

But migration error

NoMethodError: undefined method 'jsonb' for #<ActiveRecord::ConnectionAdapters::SQLite3::TableDefinition:0x000000012539f1e0> (NoMethodError)

      t.jsonb :preferences, default: {}
       ^^^^^^
Did you mean?  json
/Users/gscar/Documents/Code/RailsTrials/spina-cms/db/migrate/20260328004242_create_spina_settings.spina.rb:6:in 'block in CreateSpinaSettings#change'

Ruby 4.0.0.
New Rails app v8.1.3

Assume has to do with jsonb, and this is the first one the migration encountered. But I don't know enough to be sure.

PS Readme should probably be bin/rails spina:install

Thank you . Looking forward to exploring Spina

Activity

  1. ringe commented on Jun 16, 2026

    @ringe
    Contributor

    @MtnBiker This seems to be fixed in v2.21, you might want to retry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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