text: module.exports = module.exports = async function (ctx) {
      await ctx.model({
          name: "mixin",
          database: "store",
          display: "name",
          schema: {
              name: {
                  type: "string",
                  required: true,
                  unique: true,
              },
              object: {
                  type: "object",
                  required: true,
              },
          },
          lifecycle: {
              get: {
                  role: ["system"],
              },
              getAll: {
                  role: ["system"],
              },
              update: {
                  role: ["system"],
                  effect: ["update_models"]
              },
              create: {
                  role: ["system"],
              },
              delete: {
                  role: ["system"],
              },
          },
          mixin: []
      })
  };
  