OnlineJudge/options/migrations/0001_initial.py

26 lines
703 B
Python
Raw Normal View History

2017-10-01 19:54:34 +00:00
# -*- coding: utf-8 -*-
2017-10-23 12:59:44 +00:00
# Generated by Django 1.11.4 on 2017-10-23 08:11
2017-10-01 19:54:34 +00:00
from __future__ import unicode_literals
2017-10-23 12:59:44 +00:00
import django.contrib.postgres.fields.jsonb
2017-10-01 19:54:34 +00:00
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='SysOptions',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.CharField(db_index=True, max_length=128, unique=True)),
2017-10-23 12:59:44 +00:00
('value', django.contrib.postgres.fields.jsonb.JSONField()),
2017-10-01 19:54:34 +00:00
],
),
]