@lobehub/lobehub 2.0.0-next.140 → 2.0.0-next.141

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 2.0.0-next.141](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.140...v2.0.0-next.141)
6
+
7
+ <sup>Released on **2025-12-01**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Drop user.phoneNumber and reuse user.phone.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Drop user.phoneNumber and reuse user.phone, closes [#10531](https://github.com/lobehub/lobe-chat/issues/10531) ([2ab88c5](https://github.com/lobehub/lobe-chat/commit/2ab88c5))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ## [Version 2.0.0-next.140](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.139...v2.0.0-next.140)
6
31
 
7
32
  <sup>Released on **2025-12-01**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Drop user.phoneNumber and reuse user.phone."
6
+ ]
7
+ },
8
+ "date": "2025-12-01",
9
+ "version": "2.0.0-next.141"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "features": [
@@ -1044,7 +1044,7 @@ table users {
1044
1044
  username text [unique]
1045
1045
  email text [unique]
1046
1046
  avatar text
1047
- phone text
1047
+ phone text [unique]
1048
1048
  first_name text
1049
1049
  last_name text
1050
1050
  full_name text
@@ -1058,7 +1058,6 @@ table users {
1058
1058
  ban_reason text
1059
1059
  ban_expires "timestamp with time zone"
1060
1060
  two_factor_enabled boolean [default: false]
1061
- phone_number text [unique]
1062
1061
  phone_number_verified boolean
1063
1062
  accessed_at "timestamp with time zone" [not null, default: `now()`]
1064
1063
  created_at "timestamp with time zone" [not null, default: `now()`]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.140",
3
+ "version": "2.0.0-next.141",
4
4
  "description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -0,0 +1,4 @@
1
+ ALTER TABLE "users" DROP CONSTRAINT IF EXISTS "users_phone_number_unique";--> statement-breakpoint
2
+ ALTER TABLE "users" DROP COLUMN IF EXISTS "phone_number";--> statement-breakpoint
3
+ ALTER TABLE "users" DROP CONSTRAINT IF EXISTS "users_phone_unique";--> statement-breakpoint
4
+ ALTER TABLE "users" ADD CONSTRAINT "users_phone_unique" UNIQUE("phone");