Initial commit

This commit is contained in:
Senad Uka
2021-09-20 08:22:39 +02:00
commit a0c72b0caf
133 changed files with 9056 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
class CreateActiveAdminComments < ActiveRecord::Migration[6.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