29 lines
842 B
Python
29 lines
842 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Bar',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
|
|
('name', models.CharField(max_length=100)),
|
|
('weight_kg', models.DecimalField(max_digits=7, decimal_places=3)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Lift',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
|
|
('name', models.CharField(max_length=200)),
|
|
],
|
|
),
|
|
]
|