Sha256: 54fcfe64f08101b921bb1f51f1d01c4639493fc1798d34dd596be8f61cfad89d
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
class CreateActiveAdminComments < ActiveRecord::Migration[7.0] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-ajax_filter-0.7.0 | test_app/blog/db/migrate/20230425060439_create_active_admin_comments.rb |