forked from github/plane
dev: rearrange migrations and add class calls
This commit is contained in:
parent
8745f20ef4
commit
0d07ecb337
@ -31,7 +31,7 @@ def move_s3_objects(apps, schema_editor):
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("db", "0046_auto_20230919_1421"),
|
||||
("db", "0047_auto_20230921_0758"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -32,7 +32,7 @@ class FileAsset(BaseModel):
|
||||
validators=[
|
||||
file_size,
|
||||
],
|
||||
storage=PublicS3Storage,
|
||||
storage=PublicS3Storage(),
|
||||
)
|
||||
workspace = models.ForeignKey(
|
||||
"db.Workspace", on_delete=models.CASCADE, null=True, related_name="assets"
|
||||
|
@ -267,7 +267,7 @@ class IssueAttachment(ProjectBaseModel):
|
||||
validators=[
|
||||
file_size,
|
||||
],
|
||||
storage=PrivateS3Storage,
|
||||
storage=PrivateS3Storage(),
|
||||
)
|
||||
issue = models.ForeignKey(
|
||||
"db.Issue", on_delete=models.CASCADE, related_name="issue_attachment"
|
||||
|
Loading…
Reference in New Issue
Block a user