blob: d1207d8577331054aa55770292533430932a5dea (
plain) (
tree)
|
|
# This migration comes from refinery_videos (originally 1)
class CreateVideosVideos < ActiveRecord::Migration
def up
create_table "refinery_videos", :force => true do |t|
t.integer "position"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "config"
t.string "title"
t.integer "poster_id"
t.boolean "use_shared"
t.text "embed_tag"
end
end
def down
if defined?(::Refinery::UserPlugin)
::Refinery::UserPlugin.destroy_all({:name => "refinerycms-videos"})
end
if defined?(::Refinery::Page)
::Refinery::Page.delete_all({:link_url => "/videos/videos"})
end
drop_table :refinery_videos
end
end
|