Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
abraryaser02 committed May 10, 2024
1 parent ca37cdf commit 4e2ecf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Flask-SocketIO==5.3.6
apscheduler==3.10.4
requests==2.31.0
sqlalchemy
pytest==8.2.0
1 change: 1 addition & 0 deletions services/postgres/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ CREATE TABLE fts_word (
COPY fts_word(word) FROM '/docker-entrypoint-initdb.d/words_alpha.txt' WITH (FORMAT text);

-- Indexes for faster search
CREATE INDEX idx_login ON users USING btree (email, password);
CREATE INDEX idx_users_email ON users USING btree (email);
CREATE INDEX idx_events_name ON events USING rum (name);
CREATE INDEX idx_events_description ON events USING rum (description);
Expand Down

0 comments on commit 4e2ecf2

Please sign in to comment.