PostgreSQL Support (#4486)
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
This commit is contained in:
parent
21613fa602
commit
3bf5a71802
223 changed files with 912 additions and 1052 deletions
|
@ -12,7 +12,7 @@ class Add2FaLastAuthorizationTimeColumn extends Migration
|
|||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->text('totp_secret')->nullable()->change();
|
||||
|
@ -36,7 +36,7 @@ class Add2FaLastAuthorizationTimeColumn extends Migration
|
|||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
DB::transaction(function () {
|
||||
DB::table('users')->get()->each(function ($user) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue