Send messages
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# Generated by Django 2.0.13 on 2020-01-27 03:37
|
||||
# Generated by Django 2.0.13 on 2020-01-27 05:42
|
||||
|
||||
from django.conf import settings
|
||||
import django.contrib.auth.models
|
||||
@ -76,6 +76,16 @@ class Migration(migrations.Migration):
|
||||
('authors', models.ManyToManyField(to='fedireads.Author')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Message',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('content', django.contrib.postgres.fields.jsonb.JSONField(max_length=5000)),
|
||||
('created_date', models.DateTimeField(auto_now_add=True)),
|
||||
('updated_date', models.DateTimeField(auto_now=True)),
|
||||
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Shelf',
|
||||
fields=[
|
||||
|
Reference in New Issue
Block a user