Increase max length of version column
This commit is contained in:
		| @@ -1,8 +1,10 @@ | |||||||
| from tortoise import Model, fields | from tortoise import Model, fields | ||||||
|  |  | ||||||
|  | MAX_VERSION_LENGTH = 255 | ||||||
|  |  | ||||||
|  |  | ||||||
| class Aerich(Model): | class Aerich(Model): | ||||||
|     version = fields.CharField(max_length=50) |     version = fields.CharField(max_length=MAX_VERSION_LENGTH) | ||||||
|     app = fields.CharField(max_length=20) |     app = fields.CharField(max_length=20) | ||||||
|  |  | ||||||
|     class Meta: |     class Meta: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user