Custom content blocks for top_links and footer

This commit is contained in:
Amaia Castro
2017-03-24 17:12:33 +01:00
parent ae3690ab5f
commit c1de2dced4
24 changed files with 435 additions and 10 deletions

View File

@@ -0,0 +1,13 @@
class CreateSiteCustomizationContentBlocks < ActiveRecord::Migration
def change
create_table :site_customization_content_blocks do |t|
t.string :name
t.string :locale
t.text :body
t.timestamps null: false
end
add_index :site_customization_content_blocks, [:name, :locale], unique: true
end
end