db migration
This commit is contained in:
parent
976860ec30
commit
4219246909
32 changed files with 1513 additions and 1 deletions
31
pandora/person/migrations/0001_initial.py
Normal file
31
pandora/person/migrations/0001_initial.py
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.2 on 2016-02-19 15:37
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import ox.django.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Person',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=200, unique=True)),
|
||||
('sortname', models.CharField(max_length=200)),
|
||||
('sortsortname', models.CharField(max_length=200)),
|
||||
('edited', models.BooleanField(default=False)),
|
||||
('numberofnames', models.IntegerField(default=0)),
|
||||
('aliases', ox.django.fields.TupleField(default=[])),
|
||||
('imdbId', models.CharField(blank=True, max_length=7)),
|
||||
('wikipediaId', models.CharField(blank=True, max_length=1000)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue