bia-fitness/inventory/migrations/0001_initial.py
James Turk 647531f96c plates_for_weight
also add different weight_lb for bars
2015-04-12 23:46:43 -04:00

30 lines
926 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)),
('weight_lb', 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)),
],
),
]