5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/rocket_cms/migration.rb', line 5
def seo_fields(t)
if RocketCMS.config.localize
t.column :h1_translations, 'hstore', default: {}
t.column :title_translations, 'hstore', default: {}
t.column :keywords_translations, 'hstore', default: {}
t.column :description_translations, 'hstore', default: {}
t.column :og_title_translations, 'hstore', default: {}
else
t.string :h1
t.string :title
t.text :keywords
t.text :description
t.string :og_title
end
t.string :robots
t.attachment :og_image
end
|