Sha256: 3dd753cef521a438877c8d216397a60dd0f0ce5f7a4341ee77214e5a5f2673b6

Contents?: true

Size: 254 Bytes

Versions: 7

Compression:

Stored size: 254 Bytes

Contents

class AllowNullForPositionInArticles < ActiveRecord::Migration
  def self.up
    change_column :skyline_articles, :position, :integer, :null => true
  end

  def self.down
    change_column :skyline_articles, :position, :integer, :null => true
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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