forked from Fediversity/Fediversity
data model: migration
This commit is contained in:
parent
9230ea540c
commit
e3e2a3359c
2 changed files with 8 additions and 0 deletions
|
@ -52,6 +52,10 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
migrations.boo = {
|
||||||
|
deployment = config.deployments.baz;
|
||||||
|
runtime-environment = config.runtime-environments.bar;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
|
|
|
@ -89,5 +89,9 @@ in
|
||||||
description = "Deployment of a configuration of applications to a run-time environment";
|
description = "Deployment of a configuration of applications to a run-time environment";
|
||||||
type = attrsOf deployment;
|
type = attrsOf deployment;
|
||||||
};
|
};
|
||||||
|
migrations = mkOption {
|
||||||
|
description = "Migrations from Fediversity deployments to Fediversity run-time environments";
|
||||||
|
type = attrsOf migration;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue