Sha256: de8d0cc71addf0ff3fe4ef18db95f161c3752b47f95977d9fa4adbd6a37240eb

Contents?: true

Size: 337 Bytes

Versions: 22

Compression:

Stored size: 337 Bytes

Contents

class CreateActions < ActiveRecord::Migration
  include Six::Dbmanager::Migrate

  def self.up
    create_table :actions do |t|
      t.string :name
      t.text :tasks

      t.timestamps
    end
    six_join(["action", "sixconfig"])
  end

  def self.down
    drop_table :actions
    six_join(["action", "sixconfig"], :down)
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
six-updater-web-0.11.2 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.11.1 lib/db/migrate/20090829165545_create_actions.rb