mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 08:04:26 -04:00
rename model Page to Snapshot
This commit is contained in:
parent
c82651a0b0
commit
cb2dd1ee28
7 changed files with 38 additions and 54 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 2.2 on 2019-04-17 06:46
|
||||
# Generated by Django 2.2 on 2019-05-01 03:27
|
||||
|
||||
from django.db import migrations, models
|
||||
import uuid
|
||||
|
@ -13,15 +13,14 @@ class Migration(migrations.Migration):
|
|||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Page',
|
||||
name='Snapshot',
|
||||
fields=[
|
||||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
('url', models.URLField()),
|
||||
('timestamp', models.CharField(default=None, max_length=32, null=True)),
|
||||
('url', models.URLField(unique=True)),
|
||||
('timestamp', models.CharField(default=None, max_length=32, null=True, unique=True)),
|
||||
('title', models.CharField(default=None, max_length=128, null=True)),
|
||||
('tags', models.CharField(default=None, max_length=256, null=True)),
|
||||
('added', models.DateTimeField(auto_now_add=True)),
|
||||
('bookmarked', models.DateTimeField()),
|
||||
('updated', models.DateTimeField(default=None, null=True)),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue