Skip to content

Commit 9d02330

Browse files
committed
Feature: Migrations 파일 버전관리 시작
1 parent d50ce25 commit 9d02330

File tree

4 files changed

+63
-6
lines changed

4 files changed

+63
-6
lines changed

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,6 @@ dmypy.json
130130
/.idea/
131131
/requirements_dev.txt
132132

133-
# Migrations
134-
/pyconweb2022/sponsor/migrations/
135-
/pyconweb2022/program/migrations/
136-
/pyconweb2022/pyconemailer/migrations/
137-
/pyconweb2022/content/migrations/
138-
139133
# to use pyconkr-secrets
140134
/pyconweb2022/zappa_settings.json
141135

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 4.0.2 on 2022-09-15 22:15
2+
3+
from django.db import migrations, models
4+
import program.models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('program', '0001_initial'),
11+
]
12+
13+
operations = [
14+
migrations.AddField(
15+
model_name='proposal',
16+
name='speaker_profile_img',
17+
field=models.ImageField(blank=True, help_text='발표자님 프로필 사진', null=True, upload_to=program.models.profile_img_upload_to),
18+
),
19+
migrations.AlterField(
20+
model_name='proposal',
21+
name='language',
22+
field=models.CharField(choices=[('', '---------'), ('K', '한글'), ('E', '영어')], default='', max_length=2),
23+
),
24+
]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Generated by Django 4.0.2 on 2022-09-12 18:58
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('sponsor', '0003_sponsorproxymodel'),
10+
]
11+
12+
operations = [
13+
migrations.RemoveField(
14+
model_name='sponsor',
15+
name='creator',
16+
),
17+
migrations.RemoveField(
18+
model_name='sponsor',
19+
name='manager_id',
20+
),
21+
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 4.0.2 on 2022-09-15 22:20
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('sponsor', '0004_remove_sponsor_creator_remove_sponsor_manager_id'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='sponsor',
15+
name='eng_desc',
16+
field=models.TextField(blank=True, help_text='후원사 영문설명입니다. 이 설명은 홈페이지에 게시됩니다.', null=True),
17+
),
18+
]

0 commit comments

Comments
 (0)