chore: remove testing update migration + rename auth migration

This commit is contained in:
Yassine Doghri 2022-10-19 11:02:05 +00:00
parent 1686f840d1
commit 0bab4c7af9
2 changed files with 1 additions and 37 deletions

View File

@ -1,35 +0,0 @@
<?php
declare(strict_types=1);
/**
* Class AddCreatedByToPosts Adds created_by field to posts table in database
*
* @copyright 2020 Ad Aures
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
* @link https://castopod.org/
*/
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class AddTestingUpdate extends Migration
{
public function up(): void
{
$this->forge->addColumn('podcasts', [
'cool_update' => [
'type' => 'INT',
'unsigned' => true,
'null' => true,
'after' => 'custom_rss',
],
]);
}
public function down(): void
{
$this->forge->dropColumn('podcasts', 'cool_update');
}
}

View File

@ -6,8 +6,7 @@ namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
// Add custom column for shield
class AddCustomColumnForUser extends Migration
class AddIsOwnerToUsers extends Migration
{
public function up(): void
{