Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.10.5 on 2017-03-26 20:32
  3. from __future__ import unicode_literals
  4.  
  5. from django.db import migrations, models
  6.  
  7.  
  8. class Migration(migrations.Migration):
  9.  
  10. initial = True
  11.  
  12. dependencies = [
  13. ]
  14.  
  15. operations = [
  16. migrations.CreateModel(
  17. name='Product',
  18. fields=[
  19. ('productID', models.IntegerField(primary_key=True, serialize=False)),
  20. ('name', models.CharField(max_length=200)),
  21. ('price', models.DecimalField(decimal_places=2, max_digits=10)),
  22. ('created', models.DateTimeField(auto_now_add=True)),
  23. ('updated', models.DateTimeField(auto_now=True)),
  24. ],
  25. ),
  26. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement