diff --git a/db/000169.sst b/db/000169.sst deleted file mode 100644 index e179ecc..0000000 Binary files a/db/000169.sst and /dev/null differ diff --git a/db/000172.sst b/db/000172.sst deleted file mode 100644 index de24ecb..0000000 Binary files a/db/000172.sst and /dev/null differ diff --git a/db/000177.sst b/db/000177.sst deleted file mode 100644 index 8182709..0000000 Binary files a/db/000177.sst and /dev/null differ diff --git a/db/000192.sst b/db/000192.sst new file mode 100644 index 0000000..4e43c60 Binary files /dev/null and b/db/000192.sst differ diff --git a/db/000195.sst b/db/000195.sst new file mode 100644 index 0000000..28bef30 Binary files /dev/null and b/db/000195.sst differ diff --git a/db/CURRENT b/db/CURRENT index 9289f7a..edcd2de 100644 --- a/db/CURRENT +++ b/db/CURRENT @@ -1 +1 @@ -MANIFEST-000179 +MANIFEST-000197 diff --git a/db/LOG.old.1710951671665227 b/db/LOG.old.1711020989485666 similarity index 100% rename from db/LOG.old.1710951671665227 rename to db/LOG.old.1711020989485666 diff --git a/db/LOG.old.1710951837692313 b/db/LOG.old.1711024245815817 similarity index 100% rename from db/LOG.old.1710951837692313 rename to db/LOG.old.1711024245815817 diff --git a/db/LOG.old.1710953869363532 b/db/LOG.old.1711024288677351 similarity index 100% rename from db/LOG.old.1710953869363532 rename to db/LOG.old.1711024288677351 diff --git a/db/MANIFEST-000179 b/db/MANIFEST-000179 deleted file mode 100644 index 883a87b..0000000 Binary files a/db/MANIFEST-000179 and /dev/null differ diff --git a/db/MANIFEST-000197 b/db/MANIFEST-000197 new file mode 100644 index 0000000..a03369e Binary files /dev/null and b/db/MANIFEST-000197 differ diff --git a/db/OPTIONS-000176 b/db/OPTIONS-000191 similarity index 100% rename from db/OPTIONS-000176 rename to db/OPTIONS-000191 diff --git a/db/OPTIONS-000181 b/db/OPTIONS-000199 similarity index 100% rename from db/OPTIONS-000181 rename to db/OPTIONS-000199 diff --git a/src/main.rs b/src/main.rs index 3014d7e..c073e52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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![