()
| 8 | import userPermissionModel from "./models/user_permission.js"; |
| 9 | |
| 10 | export const isSetup = async () => { |
| 11 | const row = await userModel.query().select("id").where("is_deleted", 0).first(); |
| 12 | return row?.id > 0; |
| 13 | } |
| 14 | |
| 15 | /** |
| 16 | * Creates a default admin users if one doesn't already exist in the database |
no outgoing calls
no test coverage detected