mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-28 12:45:34 +00:00
Devshell: add python setuptools
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
nodePackages.typescript
|
||||
nodePackages.patch-package
|
||||
nodePackages.prettier
|
||||
(pkgs.python3.withPackages (ps: with ps; [ setuptools ]))
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,8 +4,8 @@ export class GuildDiscoveryHoisting1770748070808 implements MigrationInterface {
|
||||
name = "GuildDiscoveryHoisting1770748070808";
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "guilds" ADD "discovery_weight" integer NOT NULL`);
|
||||
await queryRunner.query(`ALTER TABLE "guilds" ADD "discovery_excluded" boolean NOT NULL`);
|
||||
await queryRunner.query(`ALTER TABLE "guilds" ADD "discovery_weight" integer NOT NULL DEFAULT 0`);
|
||||
await queryRunner.query(`ALTER TABLE "guilds" ADD "discovery_excluded" boolean NOT NULL DEFAULT FALSE`);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user