5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 21:16:22 +00:00

fix: valor por defecto correcto

(cherry picked from commit 9531a2004c)
This commit is contained in:
f 2023-10-26 18:07:03 -03:00
parent 43ba7d78f0
commit c07eb97735
No known key found for this signature in database

View file

@ -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