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.14.7 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.14.6 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.14.5 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.14.4 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.14.3 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.14.2 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.14.1 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.13.6 lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.13.5 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.13.4 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.13.3 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.13.2 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.13.1 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.7 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.6 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.5 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.4 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.3 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.2 lib/db/migrate/20090829165545_create_actions.rb
six-updater-web-0.12.1 lib/db/migrate/20090829165545_create_actions.rb