feat: Execute macro actions, for the conversation (#5066)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -570,7 +570,7 @@ ActiveRecord::Schema.define(version: 2022_07_20_080126) do
|
||||
t.integer "visibility", default: 0
|
||||
t.bigint "created_by_id", null: false
|
||||
t.bigint "updated_by_id", null: false
|
||||
t.jsonb "actions", default: "{}", null: false
|
||||
t.jsonb "actions", default: {}, null: false
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["account_id"], name: "index_macros_on_account_id"
|
||||
|
||||
Reference in New Issue
Block a user