Skip to content
Snippets Groups Projects
Commit 0bab4c7a authored by Yassine Doghri's avatar Yassine Doghri
Browse files

chore: remove testing update migration + rename auth migration

parent 1686f840
No related branches found
No related tags found
No related merge requests found
<?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;
// Add custom column for shield
class AddCustomColumnForUser extends Migration
class AddIsOwnerToUsers extends Migration
{
public function up(): void
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment