ssh key저장 기능 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 1m57s

This commit is contained in:
2025-05-20 13:25:12 +09:00
parent 9c84584c36
commit 293003cf1c
10 changed files with 149 additions and 15 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 4.2.14 on 2025-05-20 03:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0003_alter_customuser_is_active'),
]
operations = [
migrations.AddField(
model_name='customuser',
name='encrypted_private_key',
field=models.BinaryField(blank=True, null=True),
),
]

View File

@ -0,0 +1,18 @@
# Generated by Django 4.2.14 on 2025-05-20 03:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0004_customuser_encrypted_private_key'),
]
operations = [
migrations.AddField(
model_name='customuser',
name='last_used_at',
field=models.DateTimeField(blank=True, null=True, verbose_name='SSH 키 마지막 사용 시각'),
),
]

View File

@ -0,0 +1,18 @@
# Generated by Django 4.2.14 on 2025-05-20 04:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0005_customuser_last_used_at'),
]
operations = [
migrations.AddField(
model_name='customuser',
name='encrypted_private_key_name',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='SSH 키 이름'),
),
]