mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-25 21:00:18 +00:00
30 lines
972 B
Python
30 lines
972 B
Python
# Generated by Django 2.2.2 on 2019-06-29 23:03
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('bookmarks', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Tag',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=64)),
|
|
('date_added', models.DateTimeField()),
|
|
('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='bookmark',
|
|
name='tags',
|
|
field=models.ManyToManyField(to='bookmarks.Tag'),
|
|
),
|
|
]
|