Sha256: 1c27dd395b8c15d46fd091a0de7444f3116a45b437b546bb98fab5d082720a16

Contents?: true

Size: 255 Bytes

Versions: 8

Compression:

Stored size: 255 Bytes

Contents

class CreateCategories < ActiveRecord::Migration
  def self.up
    create_table :categories do |t|
      t.string :name
      t.string :kind
      t.integer :position

      t.timestamps
    end
  end

  def self.down
    drop_table :categories
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
yhara-moneyrail-0.0.2 db/migrate/20090802073601_create_categories.rb
moneyrail-0.1.6 db/migrate/20090802073601_create_categories.rb
moneyrail-0.1.5 db/migrate/20090802073601_create_categories.rb
moneyrail-0.1.4 db/migrate/20090802073601_create_categories.rb
moneyrail-0.1.2 db/migrate/20090802073601_create_categories.rb
moneyrail-0.1.1 db/migrate/20090802073601_create_categories.rb
moneyrail-0.1.0 db/migrate/20090802073601_create_categories.rb
moneyrail-0.0.2 db/migrate/20090802073601_create_categories.rb