mirror of
https://github.com/logto-io/logto.git
synced 2025-03-17 22:31:28 -05:00
chore: add comments for cloud seed data (#5583)
This commit is contained in:
parent
dcb5eba305
commit
a279fb4c6c
1 changed files with 8 additions and 1 deletions
|
@ -191,11 +191,18 @@ export const seedTables = async (
|
|||
),
|
||||
connection.query(insertInto(createAdminTenantSignInExperience(), SignInExperiences.table)),
|
||||
connection.query(insertInto(createDefaultAdminConsoleApplication(), Applications.table)),
|
||||
updateDatabaseTimestamp(connection, latestTimestamp),
|
||||
]);
|
||||
|
||||
// The below seed data is for the Logto Cloud only. We put it here for the sack of simplicity.
|
||||
// The data is not harmful for OSS, since they are all admin tenant data. OSS will not use them
|
||||
// and they cannot be seen by the Console.
|
||||
await Promise.all([
|
||||
seedTenantOrganizations(connection),
|
||||
seedManagementApiProxyApplications(connection),
|
||||
]);
|
||||
|
||||
await updateDatabaseTimestamp(connection, latestTimestamp);
|
||||
|
||||
consoleLog.succeed('Seed data');
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue