mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Add redirect_url field to track where a visitor is redirected for a visit
This commit is contained in:
@@ -75,4 +75,10 @@ return static function (ClassMetadata $metadata, array $emConfig): void {
|
||||
->columnName('potential_bot')
|
||||
->option('default', false)
|
||||
->build();
|
||||
|
||||
fieldWithUtf8Charset($builder->createField('redirectUrl', Types::STRING), $emConfig)
|
||||
->columnName('redirect_url')
|
||||
->length(Visitor::REDIRECT_URL_MAX_LENGTH)
|
||||
->nullable()
|
||||
->build();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user