Sha256: cb034820c01e472e624ecccb9ed1d820849c4762bc87718bec352954ef5b029a
Contents?: true
Size: 414 Bytes
Versions: 169
Compression:
Stored size: 414 Bytes
Contents
class CreateActiveAdminComments < ActiveRecord::Migration[7.1] 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
169 entries across 169 versions & 1 rubygems