Sha256: 251b05836597106679710443d8398b201325a952475eeb9a202615288a8f1f54

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.string :title
      t.integer :absolute_number
      t.integer :sequential_id
      t.integer :post_id

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sequential-0.2 test/dummy/db/migrate/20131104020142_create_comments.rb
sequential-0.1 test/dummy/db/migrate/20131104020142_create_comments.rb
sequential-0.0.3 test/dummy/db/migrate/20131104020142_create_comments.rb
sequential-0.0.2 test/dummy/db/migrate/20131104020142_create_comments.rb
sequential-0.0.1 test/dummy/db/migrate/20131104020142_create_comments.rb