Add editable contents table

This commit is contained in:
2025-05-28 18:39:25 +04:00
parent c7a21c7a69
commit 5c8ffc2630
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
class CreateEditableContents < ActiveRecord::Migration[8.0]
def change
create_table :editable_contents do |t|
t.string :path
t.string :key
t.string :lang, default: "en"
t.text :content
t.boolean :rich_text, default: false
t.timestamps
end
end
end