diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-20 18:31:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-24 14:04:05 +0200 |
commit | 0b18f4aa80df8868bf34605423c7a298dffbb2aa (patch) | |
tree | 25299da5d94fc73e88b21e87aeb2c156999c6fcd /server/initializers/database.ts | |
parent | d525fc399a14a8b16eaad6d4c0bc0a9c4093c3c9 (diff) | |
download | PeerTube-0b18f4aa80df8868bf34605423c7a298dffbb2aa.tar.gz PeerTube-0b18f4aa80df8868bf34605423c7a298dffbb2aa.tar.zst PeerTube-0b18f4aa80df8868bf34605423c7a298dffbb2aa.zip |
Add advanced search in client
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 045f41a96..d95e34bce 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -86,8 +86,6 @@ async function initDatabaseModels (silent: boolean) { | |||
86 | // Create custom PostgreSQL functions | 86 | // Create custom PostgreSQL functions |
87 | await createFunctions() | 87 | await createFunctions() |
88 | 88 | ||
89 | await sequelizeTypescript.query('CREATE EXTENSION IF NOT EXISTS pg_trgm', { raw: true }) | ||
90 | |||
91 | if (!silent) logger.info('Database %s is ready.', dbname) | 89 | if (!silent) logger.info('Database %s is ready.', dbname) |
92 | 90 | ||
93 | return | 91 | return |