From c07eb9773505279de9c6a90d36bc08263ef2d49b Mon Sep 17 00:00:00 2001 From: f Date: Thu, 26 Oct 2023 18:07:03 -0300 Subject: [PATCH] fix: valor por defecto correcto (cherry picked from commit 9531a2004c8b8c1c83b44ea1110f31e9672fca2f) --- db/migrate/20210504224343_create_indexed_posts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20210504224343_create_indexed_posts.rb b/db/migrate/20210504224343_create_indexed_posts.rb index 9cf21538..a88db1f3 100644 --- a/db/migrate/20210504224343_create_indexed_posts.rb +++ b/db/migrate/20210504224343_create_indexed_posts.rb @@ -27,7 +27,7 @@ class CreateIndexedPosts < ActiveRecord::Migration[6.1] # Queremos mostrar el título por separado t.string :title, default: '' # También vamos a mostrar las categorías - t.jsonb :front_matter, default: '{}' + t.jsonb :front_matter, default: {} t.string :content, default: '' t.tsvector :indexed_content