Skip to content

Commit

Permalink
rename visits -> clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko committed Dec 23, 2024
1 parent 42c9f04 commit a8fd842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 5.1.3 on 2024-12-18 16:12
# Generated by Django 5.1.3 on 2024-12-23 08:46

from django.db import migrations, models

Expand All @@ -12,7 +12,7 @@ class Migration(migrations.Migration):
operations = [
migrations.AddField(
model_name='workspaceinvite',
name='visits',
name='clicks',
field=models.IntegerField(default=0),
),
]
2 changes: 1 addition & 1 deletion workspaces/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ class Status(models.IntegerChoices):
choices=WorkspaceRole.choices, default=WorkspaceRole.MEMBER
)

visits = models.IntegerField(default=0)
clicks = models.IntegerField(default=0)

created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
Expand Down

0 comments on commit a8fd842

Please sign in to comment.