Sha256: 7d18e064fbec24737641b48c7778f35f38400045d25f602c6d36876fd0117101

Contents?: true

Size: 533 Bytes

Versions: 7

Compression:

Stored size: 533 Bytes

Contents

class AddSkylinePageVersionCurrentEditor < ActiveRecord::Migration
  def self.up
    add_column :skyline_page_versions, :current_editor_id, :integer
    add_column :skyline_page_versions, :current_editor_timestamp, :timestamp
    add_column :skyline_page_versions, :current_editor_since, :timestamp    
  end

  def self.down
    remove_column :skyline_page_versions, :current_editor_since    
    remove_column :skyline_page_versions, :current_editor_timestamp
    remove_column :skyline_page_versions, :current_editor_id
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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