create code bundle indices
This commit is contained in:
parent
edb3ead976
commit
da3d7ed02d
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
DROP INDEX code_bundles_bot_id_index;
|
||||||
|
DROP INDEX code_bundles_created_at_index;
|
||||||
|
|
||||||
DROP TABLE code_bundles;
|
DROP TABLE code_bundles;
|
||||||
DROP INDEX bots_index;
|
|
||||||
DROP TABLE bots;
|
DROP TABLE bots;
|
|
@ -10,3 +10,6 @@ CREATE TABLE code_bundles (
|
||||||
path text NOT NULL,
|
path text NOT NULL,
|
||||||
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
|
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE INDEX code_bundles_bot_id_index ON code_bundles(bot_id);
|
||||||
|
CREATE INDEX code_bundles_created_at_index ON code_bundles(created_at);
|
Loading…
Reference in a new issue