We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbec0d4 commit edcf5f7Copy full SHA for edcf5f7
dbschema/alias.esdl
@@ -0,0 +1,10 @@
1
+module default {
2
+ type Alias {
3
+ required name: str {
4
+ constraint exclusive;
5
+ };
6
+ required target: Object {
7
+ on target delete delete source;
8
9
+ }
10
+}
dbschema/migrations/00051.edgeql
@@ -0,0 +1,12 @@
+CREATE MIGRATION m1tgd6yl63z2bp7ahtbi7sidb5gfl7mjs47ooqfbnuleffpap3auua
+ ONTO m1vlgekf4eyzweb6xmldmxwzohoh7xbrre6fbc7e2d3t7q7ry3qobq
+{
+ CREATE TYPE default::Alias {
+ CREATE REQUIRED LINK target: std::Object {
+ ON TARGET DELETE DELETE SOURCE;
+ CREATE REQUIRED PROPERTY name: std::str {
+ CREATE CONSTRAINT std::exclusive;
11
12
+};
0 commit comments