Skip to content

Commit

Permalink
Add test schema to expose failure
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Mar 11, 2024
1 parent 45fb70a commit c568605
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions integration-tests/lts/dbschema/default.esdl
Expand Up @@ -220,4 +220,17 @@ module User {
scalar type Status extending enum<"Active", "Disabled">;

type User extending default::User;

type Profile {
link address -> User::Profile::MailingAddress;
}

module Profile {
type MailingAddress {
property street -> str;
property city -> str;
property state -> str;
property zip -> str;
}
}
}
14 changes: 14 additions & 0 deletions integration-tests/lts/dbschema/migrations/00025.edgeql
@@ -0,0 +1,14 @@
CREATE MIGRATION m1rjlewu5fimvn4lf4xguullcbvlttuxmtxyl4yz4dmsbyw5shva7a
ONTO m13x34vijy2dlwl3x5jewnjcxb6tysyo7pr2zbbljadjdi2y5w3cja
{
CREATE MODULE User::Profile IF NOT EXISTS;
CREATE TYPE User::Profile::MailingAddress {
CREATE PROPERTY city: std::str;
CREATE PROPERTY state: std::str;
CREATE PROPERTY street: std::str;
CREATE PROPERTY zip: std::str;
};
CREATE TYPE User::Profile {
CREATE LINK address: User::Profile::MailingAddress;
};
};

0 comments on commit c568605

Please sign in to comment.