Skip to content
Snippets Groups Projects
Commit 44b33d17 authored by Ben Adida's avatar Ben Adida
Browse files

added migrations for helios_auth

parent a74254df
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import helios_auth.jsonfield
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='User',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('user_type', models.CharField(max_length=50)),
('user_id', models.CharField(max_length=100)),
('name', models.CharField(max_length=200, null=True)),
('info', helios_auth.jsonfield.JSONField()),
('token', helios_auth.jsonfield.JSONField(null=True)),
('admin_p', models.BooleanField(default=False)),
],
),
migrations.AlterUniqueTogether(
name='user',
unique_together=set([('user_type', 'user_id')]),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment