hunk.code_window: 				if err := m.databaseDrv.Run(migr.BufferedBody, migr.FileType); err != nil {
   					return err
   				}
   				if int64(migr.Version) == migr.TargetVersion {
   					// Insert Version number into the table
   					if err := m.databaseDrv.InsertVersion(int64(migr.Version)); err != nil {
   						return err
   					}
   				} else {
   					// Delete Version number from the table
  
hunk.labels: keep keep keep keep replace replace replace replace keep keep keep
hunk.after_edit: 				version := int64(migr.Version)
   				if version == migr.TargetVersion {
   					if version != lastInsertVersion {
   						// Insert Version number into the table
   						if err := m.databaseDrv.InsertVersion(version); err != nil {
   							return err
   						}
   						lastInsertVersion = version
  
hunk.file_path: cli/migrate/migrate.go
hunk.type: replace
file: const gqlPattern = /^[_A-Za-z][_0-9A-Za-z]*$/;
  
  const gqlTableErrorNotif = [
    'Error creating table!',
    'Table name cannot contain special characters',
    '',
    {
      custom:
        'Table name cannot contain special characters. It can have alphabets, numbers (cannot start with numbers) and _ (can start with _)',
    },
  ];
  
  const gqlColumnErrorNotif = [
    'Error adding column!',
    'Column name cannot contain special characters',
    '',
    {
      custom:
        'Column name cannot contain special characters. It can have alphabets, numbers (cannot start with numbers) and _ (can start with _)',
    },
  ];
  
  const gqlRelErrorNotif = [
    'Error adding relationship!',
    'Relationship name cannot contain special characters',
    '',
    {
      custom:
        'Relationship name cannot contain special characters. It can have alphabets, numbers (cannot start with numbers) and _ (can start with _)',
    },
  ];
  
  export default gqlPattern;
  export { gqlTableErrorNotif, gqlColumnErrorNotif, gqlRelErrorNotif };
  