def forwards_global(self) -> Sequence[operations.RunPython]:
     return [
         operations.RunPython(
             func=forwards,
             description="Sync sample, partition and primary key for onpremise",
         ),
     ]
Ejemplo n.º 2
0
    def forwards_global(self) -> Sequence[operations.RunPython]:

        return [
            operations.RunPython(
                func=backfill_errors,
                description="Backfill errors table from events"),
        ]
 def backwards_global(self) -> Sequence[operations.RunPython]:
     return [
         operations.RunPython(
             func=ensure_drop_temporary_tables,
             description=
             "Ensure temporary tables created by the migration are dropped",
         )
     ]
 def backwards_global(self) -> Sequence[operations.RunPython]:
     return [operations.RunPython(func=backwards)]
Ejemplo n.º 5
0
 def forwards_local(self) -> Sequence[operations.Operation]:
     return [
         operations.RunPython(func=forwards),
     ]
 def forwards_global(self) -> Sequence[operations.RunPython]:
     return [
         operations.RunPython(
             func=fix_order_by,
             description="Sync project ID colum for onpremise"),
     ]