Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- # Generated by Django 1.10.5 on 2017-03-26 20:32
- from __future__ import unicode_literals
- from django.db import migrations, models
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- ]
- operations = [
- migrations.CreateModel(
- name='Product',
- fields=[
- ('productID', models.IntegerField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=200)),
- ('price', models.DecimalField(decimal_places=2, max_digits=10)),
- ('created', models.DateTimeField(auto_now_add=True)),
- ('updated', models.DateTimeField(auto_now=True)),
- ],
- ),
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement