Sha256: 21de2c539344cd60f754aaa021d61025caf7552309ce20e833837e1df298744a

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

class CreateGeorgiaRevisions < ActiveRecord::Migration

  def change
    create_table :georgia_revisions do |t|
      t.string :state, default: 'draft'
      t.string :template
      t.references :revisionable, polymorphic: true
      t.timestamps
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
georgia-0.7.1 lib/generators/georgia/upgrade/templates/create_georgia_revisions.rb
georgia-0.7.0 lib/generators/georgia/upgrade/templates/create_georgia_revisions.rb