1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Generated by Django 3.1 on 2020-12-01 19:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('media', '0001_initial'),
]
operations = [
migrations.RunSQL("""
INSERT INTO media_luximagesize (
id,
name,
width,
height,
quality
)
SELECT
id,
name,
width,
height,
quality
FROM
photos_luximagesize;
""", reverse_sql="""
INSERT INTO photos_luximagesize (
id,
name,
width,
height,
quality
)
SELECT
id,
name,
width,
height,
quality
FROM
media_luximagesize;
""")
]
|