aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.erl
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-01-03 20:58:59 -0300
committerGitHub <noreply@github.com>2026-01-03 20:58:59 -0300
commita138f1c57ef376a3f2521ce1f8877ed97bc3e654 (patch)
treec400a4888b6ef004300f28e09e313bb85984d6a4 /src/main.erl
parentc9b69ab3ae238da966bcba3d3e86f5c27a0df922 (diff)
downloadSakura-a138f1c57ef376a3f2521ce1f8877ed97bc3e654.tar.gz
Sakura-a138f1c57ef376a3f2521ce1f8877ed97bc3e654.zip
Refactor constraint system (#49)
* fix dialyzer and clean code * rework on validation criterias and mnesia-aware domains * [refactor] add comparison relations to database startup * fix nix build * fix docs for edoc
Diffstat (limited to 'src/main.erl')
-rw-r--r--src/main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.erl b/src/main.erl
index d2fe0a7..323d054 100644
--- a/src/main.erl
+++ b/src/main.erl
@@ -33,7 +33,7 @@ setup() ->
{type, set}
]),
mnesia:create_table(relation, [
- {attributes, [hash, name, tree, schema, constraints, cardinality, generator, membership_criteria, mutability, provenance, lineage]},
+ {attributes, [hash, name, tree, schema, constraints, cardinality, generator, membership_criteria, provenance, lineage]},
{disc_copies, [node()]},
{type, set},
{index, [name]} % Index on name for efficient lookup