seo meta table migration removed
We should not generate the seo meta table here - it is handled by refinerycms if the user wants it
This commit is contained in:
parent
be06f1658d
commit
b1baeba3d2
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
|||
class CreateSeoMetaForBlog < ActiveRecord::Migration
|
||||
|
||||
def up
|
||||
unless ::SeoMetum.table_exists?
|
||||
create_table ::SeoMetum.table_name do |t|
|
||||
t.integer :seo_meta_id
|
||||
t.string :seo_meta_type
|
||||
|
||||
t.string :browser_title
|
||||
t.string :meta_keywords
|
||||
t.text :meta_description
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index ::SeoMetum.table_name, :id
|
||||
add_index ::SeoMetum.table_name, [:seo_meta_id, :seo_meta_type]
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
# can't drop the table because someone else might be using it.
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue