File tree 1 file changed +30
-0
lines changed
src/CoreBundle/Migrations/Schema/V200
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /* For licensing terms, see /license.txt */
4
+
5
+ declare (strict_types=1 );
6
+
7
+ namespace Chamilo \CoreBundle \Migrations \Schema \V200 ;
8
+
9
+ use Chamilo \CoreBundle \Entity \HookEvent ;
10
+ use Chamilo \CoreBundle \Event \Events ;
11
+ use Chamilo \CoreBundle \Migrations \AbstractMigrationChamilo ;
12
+ use Doctrine \DBAL \Schema \Schema ;
13
+
14
+ class Version20250317170000 extends AbstractMigrationChamilo
15
+ {
16
+ public function getDescription (): string
17
+ {
18
+ return 'Drop tables relatesd to hooks management. ' ;
19
+ }
20
+
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ public function up (Schema $ schema ): void
25
+ {
26
+ $ this ->addSql ("DROP TABLE hook_call " );
27
+ $ this ->addSql ("DROP TABLE hook_event " );
28
+ $ this ->addSql ("DROP TABLE hook_observer " );
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments