Allow photo posts

This commit is contained in:
2023-01-31 19:58:29 +11:00
parent ccd778ecbb
commit 8cbcd08411
8 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# frozen_string_literal: true
ROM::SQL.migration do
change do
alter_table :posts do
add_column :photos, :json, default: "[]", null: false
end
end
end