first commit

This commit is contained in:
Roman Pyrih
2026-03-10 09:50:10 +01:00
commit 64c4a90405
7289 changed files with 2645777 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace ElementorPro\Modules\Notes\Database\Migrations;
use ElementorPro\Modules\Notes\Module;
use ElementorPro\Core\Database\Base_Migration;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Add_Route_Post_Id extends Base_Migration {
/**
* @inheritDoc
*/
public function up() {
$this->add_columns( Module::TABLE_NOTES, [
'route_post_id' => 'bigint(20) unsigned null comment "The post id of the route that the note was created on." AFTER `route_title`',
] );
}
/**
* @inheritDoc
*/
public function down() {
$this->drop_columns( Module::TABLE_NOTES, [ 'route_post_id' ] );
}
}