Sha256: 9da004cd8ca724e4275f1359c61b60c9ad76d10262941af6f75f3e1ba7e72135

Contents?: true

Size: 202 Bytes

Versions: 29

Compression:

Stored size: 202 Bytes

Contents

class CreateArticles < ActiveRecord::Migration
  def self.up
    create_table :articles do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :articles
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
impressionist-2.0.0 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.6.1 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.6.0 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.5.2 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist2-1.5.5 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist2-1.5.4 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist2-1.5.3 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist2-1.5.1 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.5.1 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.13 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.12 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.11 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.10 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.9 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.8 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.7 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.6 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.5 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.4 tests/test_app/db/migrate/20110201153144_create_articles.rb
impressionist-1.4.3 tests/test_app/db/migrate/20110201153144_create_articles.rb