This repository was archived by the owner on Jan 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
634 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 3.1.13 on 2023-08-15 16:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('helpers', '0054_auto_20230727_2152'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='HubActivity', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('action_user_id', models.IntegerField(blank=True, null=True)), | ||
('action_account_type', models.CharField(blank=True, max_length=250, null=True)), | ||
('recipient_id', models.IntegerField(blank=True, null=True)), | ||
('recipient_email', models.EmailField(blank=True, max_length=254, null=True)), | ||
('researcher_id', models.IntegerField(blank=True, null=True)), | ||
('community_id', models.IntegerField(blank=True, null=True)), | ||
('institution_id', models.IntegerField(blank=True, null=True)), | ||
('project_id', models.IntegerField(blank=True, null=True)), | ||
('project_link', models.URLField(blank=True, null=True)), | ||
('action_type', models.CharField(choices=[('New Member Added', 'New Member Added'), ('Sign-Up Invitation', 'Sign-Up Invitation'), ('New User', 'New User'), ('New Researcher', 'New Researcher'), ('New Community', 'New Community'), ('New Institution', 'New Institution'), ('Project Edited', 'Project Edited'), ('Project Created', 'Project Created'), ('Contributor Added', 'Contributor Added'), ('Community Notified', 'Community Notified'), ('Label(s) Applied', 'Label(s) Applied'), ('Disclosure Notice(s) Added', 'Disclosure Notice(s) Added'), ('Engagement Notice Added', 'Engagement Notice Added')], max_length=30, null=True)), | ||
('date', models.DateTimeField(auto_now_add=True, null=True)), | ||
], | ||
options={ | ||
'verbose_name': 'Hub Activity', | ||
'verbose_name_plural': 'Hub Activity', | ||
}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='noticetranslation', | ||
options={'verbose_name': 'Notice Translation', 'verbose_name_plural': 'Notice Translations'}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.1.13 on 2023-08-16 20:40 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('helpers', '0055_auto_20230815_1216'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='hubactivity', | ||
name='action_type', | ||
field=models.CharField(choices=[('New Member Added', 'New Member Added'), ('New User', 'New User'), ('New Researcher', 'New Researcher'), ('New Community', 'New Community'), ('New Institution', 'New Institution'), ('Project Edited', 'Project Edited'), ('Project Created', 'Project Created'), ('Community Notified', 'Community Notified'), ('Label(s) Applied', 'Label(s) Applied'), ('Disclosure Notice(s) Added', 'Disclosure Notice(s) Added'), ('Engagement Notice Added', 'Engagement Notice Added')], max_length=30, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Generated by Django 3.1.13 on 2023-08-17 16:35 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('helpers', '0056_auto_20230816_1640'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='hubactivity', | ||
name='recipient_email', | ||
), | ||
migrations.RemoveField( | ||
model_name='hubactivity', | ||
name='recipient_id', | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
helpers/migrations/0058_remove_hubactivity_project_link.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 3.1.13 on 2023-08-17 16:36 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('helpers', '0057_auto_20230817_1235'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='hubactivity', | ||
name='project_link', | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
helpers/migrations/0059_remove_hubactivity_researcher_id.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 3.1.13 on 2023-08-17 16:39 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('helpers', '0058_remove_hubactivity_project_link'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='hubactivity', | ||
name='researcher_id', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.