Skip to content

Commit ca7da47

Browse files
tgnottinghamMark-Simulacrum
authored andcommitted
Add raw_self_profile table to SQLite database
1 parent 76148d7 commit ca7da47

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

database/src/pool/sqlite.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,16 @@ static MIGRATIONS: &[&str] = &[
163163
);
164164
"#,
165165
r#"alter table pull_request_builds rename to pull_request_build"#,
166+
r#"
167+
create table raw_self_profile(
168+
aid integer references artifact(id) on delete cascade on update cascade,
169+
cid integer references collection(id) on delete cascade on update cascade,
170+
crate text not null references benchmark(name) on delete cascade on update cascade,
171+
profile text not null,
172+
cache text not null,
173+
PRIMARY KEY(aid, cid, crate, profile, cache)
174+
);
175+
"#,
166176
];
167177

168178
#[async_trait::async_trait]

0 commit comments

Comments
 (0)