Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect the domain on offer creation #954

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

davidfischer
Copy link
Collaborator

This just adds a migration to collect the domain (we already store the full URL). The next step will be to build an aggregation around this and a report.

@davidfischer davidfischer requested a review from a team as a code owner December 2, 2024 23:55
name='domain',
field=models.CharField(blank=True, max_length=10000, null=True, verbose_name='Domain'),
),
migrations.AddField(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need to migrate this manually because of the issue with db_table.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might. However, the migration file is correct. Worst case we can use sqlmigrate and alter it.

./manage.py sqlmigrate adserver 0100

@davidfischer davidfischer merged commit dbc93c7 into main Dec 3, 2024
1 check passed
@davidfischer davidfischer deleted the davidfischer/offer-domain-collection branch December 3, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants