[PR #409] [MERGED] Update OAuth migration #744

Closed
opened 2026-02-05 17:53:10 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/409
Author: @rmartinoscar
Created: 6/17/2024
Status: Merged
Merged: 6/17/2024
Merged by: @lancepioch

Base: mainHead: patch-2


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 database/migrations/2024_06_13_120409_add_oauth_column_to_users.php (+1 -1)

📄 Description

Make oauth column nullable (JSON fields cannot have default value)

INFO  Running migrations.  

  2024_06_13_120409_add_oauth_column_to_users .............................................................................. 1.30ms FAIL

In Connection.php line 813:

  SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL (Connection: sqlite, SQL: alter table "users"   
  add column "oauth" text not null)


In Connection.php line 571:

  SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/409 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 6/17/2024 **Status:** ✅ Merged **Merged:** 6/17/2024 **Merged by:** [@lancepioch](https://github.com/lancepioch) **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`707c2ca`](https://github.com/pelican-dev/panel/commit/707c2caf0124417c2ed4f08bada0ecf69122f745) Update OAuth migration ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `database/migrations/2024_06_13_120409_add_oauth_column_to_users.php` (+1 -1) </details> ### 📄 Description Make oauth column nullable (JSON fields cannot have default value) ``` INFO Running migrations. 2024_06_13_120409_add_oauth_column_to_users .............................................................................. 1.30ms FAIL In Connection.php line 813: SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL (Connection: sqlite, SQL: alter table "users" add column "oauth" text not null) In Connection.php line 571: SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 17:53:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#744