feat: Execute macro actions, for the conversation (#5066)

This commit is contained in:
Tejaswini Chile
2022-07-26 12:41:22 +05:30
committed by GitHub
parent bd7a56061e
commit 6a4c0a1578
17 changed files with 232 additions and 89 deletions

View File

@@ -6,7 +6,7 @@ class CreateMacros < ActiveRecord::Migration[6.1]
t.integer :visibility, default: 0
t.references :created_by, null: false, index: true, foreign_key: { to_table: :users }
t.references :updated_by, null: false, index: true, foreign_key: { to_table: :users }
t.jsonb :actions, null: false, default: '{}'
t.jsonb :actions, null: false, default: {}
t.timestamps
t.index :account_id, name: 'index_macros_on_account_id'
end