18cfe67719
* core: bump black from 22.12.0 to 23.1.0 Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * re-format Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
51 lines
1.5 KiB
Python
51 lines
1.5 KiB
Python
# Generated by Django 3.0.6 on 2020-05-19 22:08
|
|
|
|
import uuid
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="CertificateKeyPair",
|
|
fields=[
|
|
("created", models.DateTimeField(auto_now_add=True)),
|
|
("last_updated", models.DateTimeField(auto_now=True)),
|
|
(
|
|
"kp_uuid",
|
|
models.UUIDField(
|
|
default=uuid.uuid4,
|
|
editable=False,
|
|
primary_key=True,
|
|
serialize=False,
|
|
),
|
|
),
|
|
("name", models.TextField()),
|
|
(
|
|
"certificate_data",
|
|
models.TextField(help_text="PEM-encoded Certificate data"),
|
|
),
|
|
(
|
|
"key_data",
|
|
models.TextField(
|
|
blank=True,
|
|
default="",
|
|
help_text=(
|
|
"Optional Private Key. If this is set, you can use this keypair for"
|
|
" encryption."
|
|
),
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"verbose_name": "Certificate-Key Pair",
|
|
"verbose_name_plural": "Certificate-Key Pairs",
|
|
},
|
|
),
|
|
]
|