mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
26 lines
848 B
Python
26 lines
848 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import seahub.base.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Invitation',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
('token', models.CharField(max_length=40)),
|
|
('inviter', seahub.base.fields.LowerCaseCharField(max_length=255, db_index=True)),
|
|
('acceptor', seahub.base.fields.LowerCaseCharField(max_length=255)),
|
|
('invite_time', models.DateTimeField(auto_now_add=True)),
|
|
('accept_time', models.DateTimeField(null=True, blank=True)),
|
|
],
|
|
),
|
|
]
|