Skip to content

Commit

Permalink
Merge pull request #2289 from acelaya-forks/feature/delete-old-migrat…
Browse files Browse the repository at this point in the history
…ions

Delete some old migrations
  • Loading branch information
acelaya authored Nov 28, 2024
2 parents 557c742 + 8499087 commit d121d4d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@
->length(2048)
->build();

fieldWithUtf8Charset($builder->createField('shortCode', Types::STRING), $emConfig, 'bin')
$shortCodeField = fieldWithUtf8Charset($builder->createField('shortCode', Types::STRING), $emConfig, 'bin')
->columnName('short_code')
->length(255)
->build();
->length(255);
if (($emConfig['connection']['driver'] ?? null) === 'pdo_sqlsrv') {
// Make sure a case-sensitive charset is set in short code for Microsoft SQL Server
$shortCodeField->option('collation', 'Latin1_General_CS_AS');
}
$shortCodeField->build();

$builder->createField('dateCreated', ChronosDateTimeType::CHRONOS_DATETIME)
->columnName('date_created')
Expand Down
73 changes: 0 additions & 73 deletions module/Core/migrations/Version20220110113313.php

This file was deleted.

53 changes: 0 additions & 53 deletions module/Core/migrations/Version20230103105343.php

This file was deleted.

50 changes: 0 additions & 50 deletions module/Core/migrations/Version20230130090946.php

This file was deleted.

1 change: 0 additions & 1 deletion module/Core/migrations/Version20240220214031.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ final class Version20240220214031 extends AbstractMigration
private const DOMAINS_COLUMNS = ['base_url_redirect', 'regular_not_found_redirect', 'invalid_short_url_redirect'];
private const TEXT_COLUMNS = [
'domains' => self::DOMAINS_COLUMNS,
'device_long_urls' => ['long_url'],
'short_urls' => ['original_url'],
];

Expand Down

0 comments on commit d121d4d

Please sign in to comment.