Sha256: d4adc68bed6bbea583efb9579ed7e16b9cb0d5f1530da4c7aa7e706deeee2eac

Contents?: true

Size: 202 Bytes

Versions: 62

Compression:

Stored size: 202 Bytes

Contents

class CreateGalaxies < ActiveRecord::Migration
  def self.up
    create_table :galaxies do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :galaxies
  end
end

Version data entries

62 entries across 15 versions & 1 rubygems

Version Path
tabulous-0.0.1 test/applications/subtabs/db/migrate/20110223220628_create_galaxies.rb
tabulous-0.0.1 test/applications/main/db/migrate/20110223232547_create_galaxies.rb