File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Version20190610144513 extends AbstractMigration
1515 */
1616 public function getDescription ()
1717 {
18- return '' ;
18+ return 'Migrate to completely new model ' ;
1919 }
2020
2121 /**
Original file line number Diff line number Diff line change 66use Doctrine \DBAL \Migrations \AbortMigrationException ;
77
88/**
9- * Auto-generated Migration: Please modify to your needs! This block will be used as the migration description if getDescription() is not used.
9+ * Add expires field to authorization table
1010 */
1111class Version20200716150451 extends AbstractMigration
1212{
@@ -16,7 +16,7 @@ class Version20200716150451 extends AbstractMigration
1616 */
1717 public function getDescription (): string
1818 {
19- return '' ;
19+ return 'Add expires field to authorization table ' ;
2020 }
2121
2222 /**
@@ -26,7 +26,6 @@ public function getDescription(): string
2626 */
2727 public function up (Schema $ schema ): void
2828 {
29- // this up() migration is autogenerated, please modify it to your needs
3029 $ this ->abortIf ($ this ->connection ->getDatabasePlatform ()->getName () !== 'mysql ' , 'Migration can only be executed safely on "mysql". ' );
3130 $ this ->addSql ('ALTER TABLE flownative_oauth2_client_authorization ADD expires DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable) \'' );
3231 }
@@ -38,7 +37,6 @@ public function up(Schema $schema): void
3837 */
3938 public function down (Schema $ schema ): void
4039 {
41- // this down() migration is autogenerated, please modify it to your needs
4240 $ this ->abortIf ($ this ->connection ->getDatabasePlatform ()->getName () !== 'mysql ' , 'Migration can only be executed safely on "mysql". ' );
4341
4442 $ this ->addSql ('ALTER TABLE flownative_oauth2_client_authorization DROP expires ' );
You can’t perform that action at this time.
0 commit comments