@chatman-media/storage 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3122,7 +3122,7 @@ var channels = pgTable("channels", {
|
|
|
3122
3122
|
createdAt: integer("created_at").notNull().default(epochNow()),
|
|
3123
3123
|
updatedAt: integer("updated_at").notNull().default(epochNow())
|
|
3124
3124
|
}, (t) => [
|
|
3125
|
-
check("channels_kind_check", sql`${t.kind} IN ('telegram_bot','telegram_userbot','whatsapp','facebook','web')`),
|
|
3125
|
+
check("channels_kind_check", sql`${t.kind} IN ('telegram_bot','telegram_userbot','whatsapp','facebook','vk','max','web')`),
|
|
3126
3126
|
check("channels_status_check", sql`${t.status} IN ('active','paused','error')`),
|
|
3127
3127
|
uniqueIndex("uniq_channels_tenant_kind_external").on(t.tenantId, t.kind, t.externalId),
|
|
3128
3128
|
index("idx_channels_tenant_status").on(t.tenantId, t.status)
|
package/package.json
CHANGED