mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
Add migrations for new Order logs and Robot avatar defaults
This commit is contained in:
parent
125177d457
commit
96a6095dbf
33
api/migrations/0042_alter_order_logs_alter_robot_avatar.py
Normal file
33
api/migrations/0042_alter_order_logs_alter_robot_avatar.py
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Generated by Django 4.2.4 on 2023-09-07 09:09
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("api", "0041_order_logs"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="order",
|
||||||
|
name="logs",
|
||||||
|
field=models.TextField(
|
||||||
|
blank=True,
|
||||||
|
default="<thead><tr><b><th>Timestamp</th><th>Level</th><th>Event</th></b></tr></thead>",
|
||||||
|
editable=False,
|
||||||
|
max_length=80000,
|
||||||
|
null=True,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="robot",
|
||||||
|
name="avatar",
|
||||||
|
field=models.ImageField(
|
||||||
|
blank=True,
|
||||||
|
default="static/assets/avatars/unknown_avatar.webp",
|
||||||
|
upload_to="",
|
||||||
|
verbose_name="Avatar",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user