Add editable contents table
This commit is contained in:
13
db/migrate/20250528092931_create_editable_contents.rb
Normal file
13
db/migrate/20250528092931_create_editable_contents.rb
Normal 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
|
||||
Reference in New Issue
Block a user