diff --git a/mailroom_test.dump b/mailroom_test.dump index 3eeb26c0f..89ca8b680 100644 Binary files a/mailroom_test.dump and b/mailroom_test.dump differ diff --git a/testsuite/testdata/channels.go b/testsuite/testdata/channels.go index 42c5c2678..621f2af7f 100644 --- a/testsuite/testdata/channels.go +++ b/testsuite/testdata/channels.go @@ -19,8 +19,8 @@ func InsertChannel(rt *runtime.Runtime, org *Org, channelType models.ChannelType uuid := assets.ChannelUUID(uuids.New()) var id models.ChannelID must(rt.DB.Get(&id, - `INSERT INTO channels_channel(uuid, org_id, channel_type, name, schemes, role, config, last_seen, is_system, is_active, created_on, modified_on, created_by_id, modified_by_id) - VALUES($1, $2, $3, $4, $5, $6, $7, NOW(), FALSE, TRUE, NOW(), NOW(), 1, 1) RETURNING id`, uuid, org.ID, channelType, name, pq.Array(schemes), role, models.JSONMap(config), + `INSERT INTO channels_channel(uuid, org_id, channel_type, name, schemes, role, config, last_seen, is_system, log_policy, is_active, created_on, modified_on, created_by_id, modified_by_id) + VALUES($1, $2, $3, $4, $5, $6, $7, NOW(), FALSE, 'A', TRUE, NOW(), NOW(), 1, 1) RETURNING id`, uuid, org.ID, channelType, name, pq.Array(schemes), role, models.JSONMap(config), )) return &Channel{ID: id, UUID: uuid, Type: channelType} }