Skip to content

Replace db/schema.rb with structure.sql #558

Closed
@sauloperez

Description

@sauloperez

Description

The way we aim to migrate from ElasticSearch to PostgreSQL full-text search requires a function and a trigger, which is not supported by default Rails Ruby schema format.

This change should be a refactor. No behavior change at all. That's what we'll to confirm in production.

What to do

We just need to bring the change done in #465 in a new branch that only changes the schema.

Some time ago I came across a blog that would be great to check when doing this: https://blog.appsignal.com/2020/01/15/the-pros-and-cons-of-using-structure-sql-in-your-ruby-on-rails-application.html

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