aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20130611193621_create_video_file.refinery_videos.rb
blob: e56ceaca7f35881dc8922cbaf8626214809bf8a6 (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
# This migration comes from refinery_videos (originally 2)
class CreateVideoFile < ActiveRecord::Migration

  def up
    create_table "refinery_video_files", :force => true do |t|
      t.string   "file_name"
      t.integer  "file_size"
      t.string   "file_ext"
      t.string   "file_uid"
      t.string   "file_mime_type"
      t.integer  "video_id"
      t.datetime "created_at",     :null => false
      t.datetime "updated_at",     :null => false
      t.string   "external_url"
      t.boolean  "use_external"
    end

  end

  def down

    drop_table :refinery_videos

  end

end