mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
* feat: add models * chore: refactor sla column names * chore: remove foreign keys * chore: fix spec * chore: refactor models
14 lines
303 B
Ruby
14 lines
303 B
Ruby
class CreateAppliedSlas < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :applied_slas do |t|
|
|
t.references :account, null: false
|
|
t.references :sla_policy, null: false
|
|
t.references :conversation, null: false
|
|
|
|
t.string :sla_status
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|