File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
BridgeBundle/Resources/config/doctrine-orm
CoreBundle/Migrations/2025/11 Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ SWP\Component\Bridge\Model\Item:
2424 type : string
2525 nullable : true
2626 byline :
27- type : string
27+ type : text
2828 nullable : true
2929 language :
3030 type : string
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ SWP\Component\Bridge\Model\Package:
2424 type : string
2525 nullable : true
2626 byline :
27- type : string
27+ type : text
2828 nullable : true
2929 language :
3030 type : string
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ public function up(Schema $schema): void
2020
2121 $ this ->addSql ('ALTER TABLE swp_article_media ALTER by_line TYPE TEXT ' );
2222 $ this ->addSql ('ALTER TABLE swp_article_metadata ALTER byline TYPE TEXT ' );
23+ $ this ->addSql ('ALTER TABLE swp_item ALTER byline TYPE TEXT ' );
24+ $ this ->addSql ('ALTER TABLE swp_package ALTER byline TYPE TEXT ' );
2325 }
2426
2527 public function down (Schema $ schema ): void
@@ -28,6 +30,8 @@ public function down(Schema $schema): void
2830
2931 $ this ->addSql ('ALTER TABLE swp_article_media ALTER by_line TYPE VARCHAR(255) ' );
3032 $ this ->addSql ('ALTER TABLE swp_article_metadata ALTER byline TYPE VARCHAR(255) ' );
33+ $ this ->addSql ('ALTER TABLE swp_item ALTER byline TYPE VARCHAR(255) ' );
34+ $ this ->addSql ('ALTER TABLE swp_package ALTER byline TYPE VARCHAR(255) ' );
3135 }
3236}
3337
You can’t perform that action at this time.
0 commit comments