Sha256: d59d34c0268d00a86d45f54913c01cbac70b9ce756b90d1e95656fd9a962678f
Contents?: true
Size: 462 Bytes
Versions: 54
Compression:
Stored size: 462 Bytes
Contents
class CreateActiveAdminComments < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version.to_s %>] def self.up create_table :active_admin_comments do |t| t.string :namespace t.text :body t.references :resource, polymorphic: true t.references :author, polymorphic: true t.timestamps end add_index :active_admin_comments, [:namespace] end def self.down drop_table :active_admin_comments end end
Version data entries
54 entries across 54 versions & 4 rubygems