Sha256: 20005f7cd523a7ca6895afe9c72a00d6fb14035c1021b4efc390c6fed6529bb0

Contents?: true

Size: 467 Bytes

Versions: 3

Compression:

Stored size: 467 Bytes

Contents

class CreateEcmVideosVideos < ActiveRecord::Migration[4.2]
  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

3 entries across 3 versions & 1 rubygems

Version Path
ecm_videos-2.1.1 db/migrate/20160214022929_create_ecm_videos_videos.rb
ecm_videos-2.1.0 db/migrate/20160214022929_create_ecm_videos_videos.rb
ecm_videos-2.0.0 db/migrate/20160214022929_create_ecm_videos_videos.rb