Skip to content

Commit

Permalink
db
Browse files Browse the repository at this point in the history
  • Loading branch information
RGGH committed Mar 21, 2024
1 parent 0264f5e commit b588a54
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 2 deletions.
Binary file removed db/000169.sst
Binary file not shown.
Binary file removed db/000172.sst
Binary file not shown.
Binary file removed db/000177.sst
Binary file not shown.
Binary file added db/000192.sst
Binary file not shown.
Binary file added db/000195.sst
Binary file not shown.
2 changes: 1 addition & 1 deletion db/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000179
MANIFEST-000197
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed db/MANIFEST-000179
Binary file not shown.
Binary file added db/MANIFEST-000197
Binary file not shown.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async fn main() -> surrealdb::Result<()> {

let _response = db
//-- Create an index on the name, month and year fields of the product table
.query("DEFINE INDEX magid ON TABLE product COLUMNS name,month,year UNIQUE")
.query("DEFINE INDEX magid ON TABLE product COLUMNS name,day,month,year UNIQUE")
.await?;

let mut data = vec![
Expand Down

0 comments on commit b588a54

Please sign in to comment.