1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-23 01:07:35 +00:00
seahub/thirdpart/captcha/migrations/0001_initial.py

27 lines
758 B
Python
Raw Normal View History

2014-08-05 06:41:04 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
2013-11-09 02:42:06 +00:00
2014-08-05 06:41:04 +00:00
from django.db import models, migrations
2013-11-09 02:42:06 +00:00
2014-08-05 06:41:04 +00:00
class Migration(migrations.Migration):
2013-11-09 02:42:06 +00:00
2014-08-05 06:41:04 +00:00
dependencies = [
]
2013-11-09 02:42:06 +00:00
2014-08-05 06:41:04 +00:00
operations = [
migrations.CreateModel(
name='CaptchaStore',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('challenge', models.CharField(max_length=32)),
('response', models.CharField(max_length=32)),
('hashkey', models.CharField(unique=True, max_length=40)),
('expiration', models.DateTimeField()),
],
options={
},
bases=(models.Model,),
),
]