Sha256: 40ccf3d95ae8a7c993e7a71f78057f42b2b6892d30810b146bdcab32f0aecd63

Contents?: true

Size: 296 Bytes

Versions: 123

Compression:

Stored size: 296 Bytes

Contents

class CreateDorsaleComments < ActiveRecord::Migration
  def change
    create_table :dorsale_comments do |t|
      t.integer :user_id
      t.string :user_type

      t.integer :commentable_id
      t.string :commentable_type

      t.text :text

      t.timestamps null: false
    end
  end
end

Version data entries

123 entries across 123 versions & 1 rubygems

Version Path
dorsale-2.1.1 db/migrate/20150312083147_create_dorsale_comments.rb
dorsale-2.1.0 db/migrate/20150312083147_create_dorsale_comments.rb
dorsale-2.0.1 db/migrate/20150312083147_create_dorsale_comments.rb