Sha256: 7edfe44cb8af029912391b1fc1f183d87cbc8c31c0a9795438f45750a0a4edd3

Contents?: true

Size: 199 Bytes

Versions: 62

Compression:

Stored size: 199 Bytes

Contents

class CreatePlanets < ActiveRecord::Migration
  def self.up
    create_table :planets do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :planets
  end
end

Version data entries

62 entries across 15 versions & 1 rubygems

Version Path
tabulous-1.3.2 spec/applications/simple_tabs/rails_3-0-20/db/migrate/20130406131209_create_planets.rb
tabulous-1.3.2 spec/applications/subtabs/rails_3-0-20/db/migrate/20130406131139_create_planets.rb
tabulous-1.3.2 spec/applications/main/rails_3-0-20/db/migrate/20130406131040_create_planets.rb
tabulous-1.3.0 test/applications/rails30/simple_tabs/db/migrate/20110220170250_create_planets.rb
tabulous-1.3.0 test/applications/rails31/subtabs/db/migrate/20110223220640_create_planets.rb
tabulous-1.3.0 test/applications/rails31/simple_tabs/db/migrate/20110220170250_create_planets.rb
tabulous-1.3.0 test/applications/rails31/main/db/migrate/20110223232557_create_planets.rb
tabulous-1.3.0 test/applications/rails30/subtabs/db/migrate/20110223220640_create_planets.rb
tabulous-1.3.0 test/applications/rails30/main/db/migrate/20110223232557_create_planets.rb
tabulous-1.2.0 test/applications/rails31/simple_tabs/db/migrate/20110220170250_create_planets.rb
tabulous-1.2.0 test/applications/rails30/main/db/migrate/20110223232557_create_planets.rb
tabulous-1.2.0 test/applications/rails30/simple_tabs/db/migrate/20110220170250_create_planets.rb
tabulous-1.2.0 test/applications/rails30/subtabs/db/migrate/20110223220640_create_planets.rb
tabulous-1.2.0 test/applications/rails31/main/db/migrate/20110223232557_create_planets.rb
tabulous-1.2.0 test/applications/rails31/subtabs/db/migrate/20110223220640_create_planets.rb
tabulous-1.1.0 test/applications/rails30/main/db/migrate/20110223232557_create_planets.rb
tabulous-1.1.0 test/applications/rails31/subtabs/db/migrate/20110223220640_create_planets.rb
tabulous-1.1.0 test/applications/rails31/simple_tabs/db/migrate/20110220170250_create_planets.rb
tabulous-1.1.0 test/applications/rails31/main/db/migrate/20110223232557_create_planets.rb
tabulous-1.1.0 test/applications/rails30/subtabs/db/migrate/20110223220640_create_planets.rb