Sha256: 8030c53b57009b8a76be40dc72f89023fc540e67b0570bc98977b52bb5b007fe

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

class AddTalkativesTableToTests < ActiveRecord::Migration
  def self.up
    create_table :talkatives, :force => true do |t|
      t.string     :before_comment
      t.string     :around_early_comment
      t.string     :around_late_comment
      t.string     :after_comment
      t.references :draft
      t.datetime   :trashed_at
      t.datetime   :published_at
      t.timestamps
    end
  end

  def self.down
    drop_table :talkatives
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
draftsman-0.5.1 spec/dummy/db/migrate/20150404203627_add_talkatives_table_to_tests.rb
draftsman-0.5.0 spec/dummy/db/migrate/20150404203627_add_talkatives_table_to_tests.rb
draftsman-0.4.0 spec/dummy/db/migrate/20150404203627_add_talkatives_table_to_tests.rb