Sha256: e096dc88a2f2217b55000cc9a023b795363b0aa0256399f0a571c2699b022488

Contents?: true

Size: 255 Bytes

Versions: 7

Compression:

Stored size: 255 Bytes

Contents

class AddMediaNodesFileType < ActiveRecord::Migration
  def self.up
    add_column :skyline_media_nodes, :file_type, :string
    Skyline::MediaFile.set_missing_file_types
  end

  def self.down
    remove_column :skyline_media_nodes, :file_type
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
skylinecms-3.3.0 db/migrate/20090630100045_add_media_nodes_file_type.rb
skylinecms-3.2.0 db/migrate/20090630100045_add_media_nodes_file_type.rb
skylinecms-3.1.0 db/migrate/20090630100045_add_media_nodes_file_type.rb
westarete-skylinecms-3.0.8.20100329 db/migrate/20090630100045_add_media_nodes_file_type.rb
westarete-skylinecms-3.0.8.20100330 db/migrate/20090630100045_add_media_nodes_file_type.rb
skylinecms-3.0.8 db/migrate/20090630100045_add_media_nodes_file_type.rb
skylinecms-3.0.7 db/migrate/20090630100045_add_media_nodes_file_type.rb