fixed ordering of all things sql

This commit is contained in:
2026-05-14 05:58:38 -04:00
parent ce9c9baac9
commit 2a8b991269
12 changed files with 2334 additions and 1799 deletions

View File

@ -1,4 +1,4 @@
use std::collections::HashSet;
use indexmap::{IndexMap, IndexSet};
use crate::database::schema::Schema;
use serde::{Deserialize, Serialize};
@ -25,7 +25,7 @@ pub struct Type {
#[serde(default)]
pub hierarchy: Vec<String>,
#[serde(default)]
pub variations: HashSet<String>,
pub variations: IndexSet<String>,
#[serde(default)]
pub relationship: bool,
#[serde(default)]
@ -39,5 +39,5 @@ pub struct Type {
pub default_fields: Vec<String>,
pub field_types: Option<Value>,
#[serde(default)]
pub schemas: std::collections::BTreeMap<String, Arc<Schema>>,
pub schemas: IndexMap<String, Arc<Schema>>,
}