lms-sync 1.0.32 → 1.0.34
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,9 +44,7 @@ const server = {
|
|
44
44
|
|
45
45
|
|
46
46
|
await db.sequelize.query(`CREATE SEQUENCE IF NOT EXISTS ${db_schema}."Users__id_seq"`);
|
47
|
-
await db.sequelize.query(`ALTER SEQUENCE ${db_schema}."Users__id_seq" RESTART WITH ${
|
48
|
-
|
49
|
-
|
47
|
+
await db.sequelize.query(`ALTER SEQUENCE ${db_schema}."Users__id_seq" RESTART WITH ${maxIdUsers + 1}`);
|
50
48
|
|
51
49
|
await db.sequelize.query(`CREATE SEQUENCE IF NOT EXISTS ${db_schema}."Campuses__id_seq"`);
|
52
50
|
await db.sequelize.query(`ALTER SEQUENCE ${db_schema}."Campuses__id_seq" RESTART WITH ${maxId + 1}`);
|