Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
3 Schweinehunde
Encrateia
Commits
acb08131
Commit
acb08131
authored
May 14, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lapTaggings, activityTaggings sqfentity models
parent
33c7586e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2376 additions
and
0 deletions
+2376
-0
lib/model/model.dart
lib/model/model.dart
+41
-0
lib/model/model.g.dart
lib/model/model.g.dart
+2335
-0
No files found.
lib/model/model.dart
View file @
acb08131
...
...
@@ -338,6 +338,45 @@ const tableTag = SqfEntityTable(
],
);
const
tableLapTagging
=
SqfEntityTable
(
tableName:
'lapTaggings'
,
primaryKeyName:
'id'
,
primaryKeyType:
PrimaryKeyType
.
integer_auto_incremental
,
useSoftDeleting:
false
,
modelName:
'DbLapTagging'
,
fields:
[
SqfEntityField
(
'system'
,
DbType
.
bool
),
SqfEntityFieldRelationship
(
parentTable:
tableTag
,
deleteRule:
DeleteRule
.
CASCADE
,
defaultValue:
0
),
SqfEntityFieldRelationship
(
parentTable:
tableLap
,
deleteRule:
DeleteRule
.
CASCADE
,
defaultValue:
0
),
],
);
const
tableActivityTagging
=
SqfEntityTable
(
tableName:
'activityTaggings'
,
primaryKeyName:
'id'
,
primaryKeyType:
PrimaryKeyType
.
integer_auto_incremental
,
useSoftDeleting:
false
,
modelName:
'DbActivityTagging'
,
fields:
[
SqfEntityField
(
'system'
,
DbType
.
bool
),
SqfEntityFieldRelationship
(
parentTable:
tableTag
,
deleteRule:
DeleteRule
.
CASCADE
,
defaultValue:
0
),
SqfEntityFieldRelationship
(
parentTable:
tableActivity
,
deleteRule:
DeleteRule
.
CASCADE
,
defaultValue:
0
),
],
);
@SqfEntityBuilder
(
encrateia
)
const
encrateia
=
SqfEntityModel
(
modelName:
'DbEncrateia'
,
// optional
...
...
@@ -354,6 +393,8 @@ const encrateia = SqfEntityModel(
tablePowerZone
,
tableTag
,
tableTagGroup
,
tableLapTagging
,
tableActivityTagging
,
],
sequences:
[],
bundledDatabasePath:
null
,
...
...
lib/model/model.g.dart
View file @
acb08131
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment