Sha256: 295766e0830ac4b3005ae61dc2a5735be06a7b598af84f7d743b1ea08d941b80

Contents?: true

Size: 462 Bytes

Versions: 5

Compression:

Stored size: 462 Bytes

Contents

class CreateEcmVideosVideos < ActiveRecord::Migration
  def change
    create_table :ecm_videos_videos do |t|
      t.integer :category_id
      t.string :name
      t.text :description

      t.string :markup_language

      # acts_as_list
      t.integer :position

      # friendly_id
      t.string :slug

      # acts_as_published
      t.timestamp :published_at

      # paperclip
      t.attachment :clip

      t.timestamps null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_videos-1.0.4 db/migrate/20160214022929_create_ecm_videos_videos.rb
ecm_videos-1.0.3 db/migrate/20160214022929_create_ecm_videos_videos.rb
ecm_videos-1.0.2 db/migrate/20160214022929_create_ecm_videos_videos.rb
ecm_videos-1.0.1 db/migrate/20160214022929_create_ecm_videos_videos.rb
ecm_videos-1.0.0 db/migrate/20160214022929_create_ecm_videos_videos.rb