Sha256: 5495410bb67670ba7653286c37900374ca17654287ed38f0330245acc4b88119

Contents?: true

Size: 188 Bytes

Versions: 6

Compression:

Stored size: 188 Bytes

Contents

class AddArticleParentDraft < ActiveRecord::Migration
  def self.up
    add_column :contents, :parent_id, :integer
  end

  def self.down
    remove_column :contents, :parent_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typo-5.5 db/migrate/085_add_article_parent_draft.rb
typo-5.4.4 db/migrate/085_add_article_parent_draft.rb
typo-5.4.3 db/migrate/085_add_article_parent_draft.rb
typo-5.4.2 db/migrate/085_add_article_parent_draft.rb
typo-5.4.1 db/migrate/085_add_article_parent_draft.rb
typo-5.4 db/migrate/085_add_article_parent_draft.rb