zou 0.20.24__py3-none-any.whl → 0.20.25__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
zou/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.20.24"
1
+ __version__ = "0.20.25"
@@ -0,0 +1,62 @@
1
+ """Change Comment.updated_by in Comment.editor_id
2
+
3
+ Revision ID: 307edd8c639d
4
+ Revises: addbad59c706
5
+ Create Date: 2025-03-10 12:53:19.482537
6
+
7
+ """
8
+
9
+ from alembic import op
10
+ import sqlalchemy as sa
11
+ import sqlalchemy_utils
12
+ import sqlalchemy_utils
13
+ import uuid
14
+
15
+ # revision identifiers, used by Alembic.
16
+ revision = "307edd8c639d"
17
+ down_revision = "addbad59c706"
18
+ branch_labels = None
19
+ depends_on = None
20
+
21
+
22
+ def upgrade():
23
+ # ### commands auto generated by Alembic - please adjust! ###
24
+ with op.batch_alter_table("comment", schema=None) as batch_op:
25
+ batch_op.add_column(
26
+ sa.Column(
27
+ "editor_id",
28
+ sqlalchemy_utils.types.uuid.UUIDType(binary=False),
29
+ default=uuid.uuid4,
30
+ nullable=True,
31
+ )
32
+ )
33
+ batch_op.drop_index("ix_comment_updated_by")
34
+ batch_op.create_index(
35
+ batch_op.f("ix_comment_editor_id"), ["editor_id"], unique=False
36
+ )
37
+ batch_op.drop_constraint("comment_updated_by_fkey", type_="foreignkey")
38
+ batch_op.create_foreign_key(None, "person", ["editor_id"], ["id"])
39
+ batch_op.drop_column("updated_by")
40
+
41
+ # ### end Alembic commands ###
42
+
43
+
44
+ def downgrade():
45
+ # ### commands auto generated by Alembic - please adjust! ###
46
+ with op.batch_alter_table("comment", schema=None) as batch_op:
47
+ batch_op.add_column(
48
+ sa.Column(
49
+ "updated_by", sa.UUID(), autoincrement=False, nullable=True
50
+ )
51
+ )
52
+ batch_op.drop_constraint("comment_editor_id_fkey", type_="foreignkey")
53
+ batch_op.create_foreign_key(
54
+ "comment_updated_by_fkey", "person", ["updated_by"], ["id"]
55
+ )
56
+ batch_op.drop_index(batch_op.f("ix_comment_editor_id"))
57
+ batch_op.create_index(
58
+ "ix_comment_updated_by", ["updated_by"], unique=False
59
+ )
60
+ batch_op.drop_column("editor_id")
61
+
62
+ # ### end Alembic commands ###
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: zou
3
- Version: 0.20.24
3
+ Version: 0.20.25
4
4
  Summary: API to store and manage the data of your animation production
5
5
  Home-page: https://zou.cg-wire.com
6
6
  Author: CG Wire
@@ -1,4 +1,4 @@
1
- zou/__init__.py,sha256=e4eHFkFusnqPsZ-0i4EKTp1LAFG4IVv0XLODv8gy51E,24
1
+ zou/__init__.py,sha256=RYOJIDE9K5kVkcGQZowJLblB5szdIfREiFdS5sbxZPQ,24
2
2
  zou/cli.py,sha256=HuYi2Ma7SP2SD7C9d9dwpZ49BHpytKIoyJP_su9JwZY,18755
3
3
  zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
4
4
  zou/event_stream.py,sha256=EpohqFJwWL0zs-Ic_W5dX5_XSDeCrqHQPL5Re39OnQ0,6382
@@ -280,6 +280,7 @@ zou/migrations/versions/29fe01a6c9eb_add_status_automation_field.py,sha256=bwmzP
280
280
  zou/migrations/versions/2adc020885fa_.py,sha256=CZoG30mi3HadEz7aBIM9rY2kAEcgxNHUj_fgWJQ_XfA,1352
281
281
  zou/migrations/versions/2baede80b111_add_entity_status_field.py,sha256=-oRMTToOyx5U9wvHgjtFY27y0ile_5K_JngGHrkMTYE,973
282
282
  zou/migrations/versions/306266361f4f_.py,sha256=OdQtt_Jw7iMALvErFuToqPRXSVYogSd0wIW-EY0MNxE,1880
283
+ zou/migrations/versions/307edd8c639d_change_comment_updated_by_in_comment_.py,sha256=klyZzuFsNB30ORPPLt6P2wSfaeVuBzA-ihz4_yaYLQk,1935
283
284
  zou/migrations/versions/328fd44c6347_add_entity_created_by.py,sha256=-1J-ndc30OSKhjLY_t8kbsa-UREdj7OmZGyQ2bguBjU,1176
284
285
  zou/migrations/versions/32f134ff1201_add_is_shared_flag_to_filters.py,sha256=Hm436fq7VYMJ1gTzvG4razVEFzdmq7vbF2pmAIgxqdw,809
285
286
  zou/migrations/versions/346250b5304c_add_position_to_preview_files.py,sha256=8s54X-Yj7lUsiBhcXWiKKRbZrqT_3rIX9D1WJnjpMeU,699
@@ -419,9 +420,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
419
420
  zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
420
421
  zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
421
422
  zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
422
- zou-0.20.24.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
423
- zou-0.20.24.dist-info/METADATA,sha256=9s5B7TaMUQKnFX40S1TLXCkH8wta-BEvuxjlcgqs-uw,6673
424
- zou-0.20.24.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
425
- zou-0.20.24.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
426
- zou-0.20.24.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
427
- zou-0.20.24.dist-info/RECORD,,
423
+ zou-0.20.25.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
424
+ zou-0.20.25.dist-info/METADATA,sha256=dQjGXYP1B9mly95Fi_6-J-eTmo-za1RWF-hYbH6dbf8,6673
425
+ zou-0.20.25.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
426
+ zou-0.20.25.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
427
+ zou-0.20.25.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
428
+ zou-0.20.25.dist-info/RECORD,,
File without changes
File without changes