blob: d1207d8577331054aa55770292533430932a5dea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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
|