Finish MVP for content editing

This commit is contained in:
2025-05-29 14:18:14 +04:00
parent 6713665a61
commit 6014134396
13 changed files with 92 additions and 59 deletions

View File

@@ -1,7 +1,7 @@
class CreateEditableContents < ActiveRecord::Migration[8.0]
def change
create_table :editable_contents do |t|
t.string :path
t.string :context
t.string :key
t.string :lang, default: "en"
t.text :content

View File

@@ -65,7 +65,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_28_092931) do
end
create_table "editable_contents", force: :cascade do |t|
t.string "path"
t.string "context"
t.string "key"
t.string "lang", default: "en"
t.text "content"