mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
chore: remove testing update migration + rename auth migration
This commit is contained in:
parent
1686f840d1
commit
0bab4c7af9
@ -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');
|
|
||||||
}
|
|
||||||
}
|
|
@ -6,8 +6,7 @@ namespace App\Database\Migrations;
|
|||||||
|
|
||||||
use CodeIgniter\Database\Migration;
|
use CodeIgniter\Database\Migration;
|
||||||
|
|
||||||
// Add custom column for shield
|
class AddIsOwnerToUsers extends Migration
|
||||||
class AddCustomColumnForUser extends Migration
|
|
||||||
{
|
{
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user