Sha256: 26cfc8ca3b5a47c31dbff6fc88f926e9450c189a3c2eb00f2ee67292ace87d01
Contents?: true
Size: 331 Bytes
Versions: 3
Compression:
Stored size: 331 Bytes
Contents
class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| t.column :commentable_id, :integer t.column :commentable_type, :string t.column :commenter_id, :string t.column :commenter_type, :string end end def self.down drop_table :comments end end
Version data entries
3 entries across 3 versions & 1 rubygems