Skip to content

Commit

Permalink
#8592 Updated field nullability to match the migration I8592_SiteNoti…
Browse files Browse the repository at this point in the history
…ficationSubscriptions
  • Loading branch information
jonasraoni committed Jun 19, 2024
1 parent 2a9a541 commit 1f26efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/migration/install/CommonMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function up(): void
$table->foreign('user_id')->references('user_id')->on('users')->onDelete('cascade');
$table->index(['user_id'], 'notification_subscription_settings_user_id');

$table->bigInteger('context');
$table->bigInteger('context')->nullable();
$contextDao = Application::getContextDAO();
$table->foreign('context')->references($contextDao->primaryKeyColumn)->on($contextDao->tableName)->onDelete('cascade');
$table->index(['context'], 'notification_subscription_settings_context');
Expand Down

0 comments on commit 1f26efa

Please sign in to comment.