Sha256: 3393db504c287514fdaed30f6fe1baf0c32bfd8da490f2d2356b8ab6b9e481d4

Contents?: true

Size: 286 Bytes

Versions: 25

Compression:

Stored size: 286 Bytes

Contents

class CreateRecruiterArticles < ActiveRecord::Migration
  def change
    create_table :recruiter_articles do |t|
      t.string :title
      t.text :body
      t.references :user, index: true
      t.boolean :published, index: true, default: false

      t.timestamps
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
recruiter-1.1.18 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.17 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.16 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.15 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.14 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.12 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.11 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.10 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.9 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.8 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.7 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.6 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.5 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.4 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.3 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.2 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.1 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.1.0 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-1.0.0 db/migrate/20140712201534_create_recruiter_articles.rb
recruiter-0.1.5 db/migrate/20140712201534_create_recruiter_articles.rb