-
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.
Merge branch 'master' into save-for-anon-users
- Loading branch information
Showing
113 changed files
with
4,287 additions
and
1,750 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,18 @@ | ||
# Generated by Django 4.2.7 on 2024-09-10 12:46 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0019_alter_appusertransaction_reason'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='appuser', | ||
name='updated_at', | ||
field=models.DateTimeField(auto_now=True), | ||
), | ||
] |
21 changes: 21 additions & 0 deletions
21
...sers/migrations/0021_remove_appusertransaction_app_users_a_user_id_9b2e8d_idx_and_more.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,21 @@ | ||
# Generated by Django 5.1.1 on 2024-09-12 14:18 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0020_appuser_updated_at'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveIndex( | ||
model_name='appusertransaction', | ||
name='app_users_a_user_id_9b2e8d_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='appusertransaction', | ||
name='app_users_a_user_id_b0d6a5_idx', | ||
), | ||
] |
64 changes: 64 additions & 0 deletions
64
app_users/migrations/0022_appusertransaction_workspace_alter_appuser_balance_and_more.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,64 @@ | ||
# Generated by Django 5.0.9 on 2024-09-15 18:36 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0021_remove_appusertransaction_app_users_a_user_id_9b2e8d_idx_and_more'), | ||
('handles', '0001_initial'), | ||
('payments', '0005_alter_subscription_plan'), | ||
('workspaces', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='appusertransaction', | ||
name='workspace', | ||
field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='transactions', to='workspaces.workspace'), | ||
), | ||
migrations.AlterField( | ||
model_name='appuser', | ||
name='balance', | ||
field=models.IntegerField(blank=True, default=None, help_text='[Deprecated]', null=True, verbose_name='bal'), | ||
), | ||
migrations.AlterField( | ||
model_name='appuser', | ||
name='is_paying', | ||
field=models.BooleanField(default=False, help_text='[Deprecated]', verbose_name='paid'), | ||
), | ||
migrations.AlterField( | ||
model_name='appuser', | ||
name='low_balance_email_sent_at', | ||
field=models.DateTimeField(blank=True, help_text='[Deprecated]', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='appuser', | ||
name='stripe_customer_id', | ||
field=models.CharField(blank=True, default='', help_text='[Deprecated]', max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name='appuser', | ||
name='subscription', | ||
field=models.OneToOneField(blank=True, help_text='[Deprecated]', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='user', to='payments.subscription'), | ||
), | ||
migrations.AlterField( | ||
model_name='appusertransaction', | ||
name='user', | ||
field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='transactions', to='app_users.appuser'), | ||
), | ||
migrations.AddIndex( | ||
model_name='appuser', | ||
index=models.Index(fields=['email'], name='app_users_a_email_2228c5_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='appusertransaction', | ||
index=models.Index(fields=['workspace', 'amount', '-created_at'], name='app_users_a_workspa_bd7eb5_idx'), | ||
), | ||
migrations.AddConstraint( | ||
model_name='appusertransaction', | ||
constraint=models.CheckConstraint(check=models.Q(('user__isnull', False), ('workspace__isnull', False), _connector='OR'), name='user_or_workspace_present'), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
app_users/migrations/0023_alter_appusertransaction_workspace.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,20 @@ | ||
# Generated by Django 5.1.1 on 2024-09-16 00:13 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app_users', '0022_appusertransaction_workspace_alter_appuser_balance_and_more'), | ||
('workspaces', '0002_alter_workspace_domain_name'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='appusertransaction', | ||
name='workspace', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='transactions', to='workspaces.workspace'), | ||
), | ||
] |
Oops, something went wrong.