-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1885 from dandi/1839-path-ordering
Use different collation for Asset `path` field
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 4.1.13 on 2024-03-06 17:04 | ||
from __future__ import annotations | ||
|
||
from django.db import migrations, models | ||
|
||
import dandiapi.api.models.asset | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('api', '0005_null_charfield'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='asset', | ||
name='path', | ||
field=models.CharField( | ||
db_collation='C.utf8', | ||
max_length=512, | ||
validators=[dandiapi.api.models.asset.validate_asset_path], | ||
), | ||
), | ||
] |
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