hunk.code_window:                         "    email varchar (250) not null\n" +
                           ")");
                   statement.execute("alter table possessions add foreign key (username, email) references users (username, email)");
               }
               try (Statement statement = connection.createStatement()) {
                   statement.execute(
                           "INSERT INTO users VALUES (" +
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:                 statement.execute("SET SESSION sql_mode = '';\n");
  
hunk.file_path: app/server/appsmith-plugins/mysqlPlugin/src/test/java/com/external/plugins/MySqlPluginTest.java
hunk.type: add
file: package com.appsmith.server.domains;
  
  import com.appsmith.external.models.BaseDomain;
  import lombok.Getter;
  import lombok.Setter;
  import lombok.ToString;
  import org.apache.commons.lang.StringUtils;
  import org.springframework.data.mongodb.core.mapping.Document;
  
  import javax.validation.constraints.NotNull;
  import java.util.Set;
  
  @Getter
  @Setter
  @ToString
  @Document
  public class Group extends BaseDomain {
  
      @NotNull
      private String name;
  
      private String displayName;
  
      @NotNull
      private String organizationId;
  
      /**
       * This is a list of name of permissions. We will query with permission collection by name
       * This is because permissions are global in nature. They are not specific to a particular org/team.
       */
      Set<String> permissions;
  
      private Boolean isDefault = false;
  
      /**
       * If the display name is null or empty, then just return the actual group name. This is just to ensure that
       * the client is never sent an empty group name for displaying on the UI.
       */
      public String displayName() {
          return StringUtils.defaultIfEmpty(displayName, name);
      }
  }
  