CREATE MIGRATION m1qfy6oqj3g3bhjhemjyxr3zdlwi4a3gqi5mgj7kbxfimxxwreezha
    ONTO m16uelygvrzoeahpszkv3bknrlklfgoqxhlfxyd5pnup6qpwalmr6q
{
  ALTER TYPE default::Area {
      CREATE REQUIRED LINK conversation: default::Conversation {
          SET REQUIRED USING (<default::Conversation>{});
      };
  };
  ALTER TYPE default::Area {
      DROP LINK messages;
  };
  ALTER TYPE default::Conversation {
      DROP LINK areas;
  };
  ALTER TYPE default::Conversation {
      CREATE REQUIRED LINK user: default::User {
          SET REQUIRED USING (<default::User>{});
      };
  };
  ALTER TYPE default::Key {
      CREATE REQUIRED LINK setting: default::Setting {
          SET REQUIRED USING (<default::Setting>{});
      };
  };
  ALTER TYPE default::Message {
      CREATE REQUIRED LINK area: default::Area {
          SET REQUIRED USING (<default::Area>{});
      };
  };
  ALTER TYPE default::Setting {
      DROP LINK keys;
  };
  ALTER TYPE default::Setting {
      CREATE REQUIRED LINK user: default::User {
          SET REQUIRED USING (<default::User>{});
      };
  };
  ALTER TYPE default::Usage {
      CREATE REQUIRED LINK user: default::User {
          SET REQUIRED USING (<default::User>{});
      };
  };
  ALTER TYPE default::User {
      DROP LINK conversations;
      DROP LINK usages;
  };
};
