Skip to content

Commit 188f3c6

Browse files
committed
Add migrations
1 parent d97a030 commit 188f3c6

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
from __future__ import unicode_literals
3+
4+
from django.db import migrations, models
5+
import ralph.lib.mixins.fields
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('assets', '0034_auto_20240304_1511'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='asset',
17+
name='hostname',
18+
field=ralph.lib.mixins.fields.NullableCharFieldWithAutoStrip(verbose_name='hostname', max_length=255, blank=True, null=True, db_index=True, default=None),
19+
),
20+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# -*- coding: utf-8 -*-
2+
from __future__ import unicode_literals
3+
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('virtual', '0013_auto_20190625_1239'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='cloudhost',
16+
name='hostname',
17+
field=models.CharField(verbose_name='hostname', max_length=255, db_index=True),
18+
),
19+
]

0 commit comments

Comments
 (0)