Sha256: 39ade52ceb4c5e7da04052084557bb7ab03e593f7abbd3562b9a836615bb5a77

Contents?: true

Size: 225 Bytes

Versions: 21

Compression:

Stored size: 225 Bytes

Contents

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

      t.timestamps
    end
  end

  def self.down
    drop_table :articles
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
quo_vadis-1.4.2 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.4.1 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.4.0 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.3.2 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.3.1 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.3.0 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.2.3 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.2.2 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.2.1 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.2.0 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.1.2 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.1.1 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.1.0 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.7 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.6 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.5 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.4 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.3 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.2 test/dummy/db/migrate/20110124131535_create_articles.rb
quo_vadis-1.0.1 test/dummy/db/migrate/20110124131535_create_articles.rb