Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
57e41beb
Commit
57e41beb
authored
Nov 24, 2022
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
Nov 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_mysql_innodb_catalog: Add slap_date column to slapos_item table
parent
1cab8935
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_slapos_item_list.sql
..._catalog/erp5_mysql_innodb/z_catalog_slapos_item_list.sql
+2
-1
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_slapos_item_list.xml
..._catalog/erp5_mysql_innodb/z_catalog_slapos_item_list.xml
+3
-2
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_slapos_item.sql
...portal_catalog/erp5_mysql_innodb/z_create_slapos_item.sql
+1
-0
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_slapos_item.xml
...portal_catalog/erp5_mysql_innodb/z_create_slapos_item.xml
+8
-6
No files found.
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_slapos_item_list.sql
View file @
57e41beb
...
@@ -15,7 +15,8 @@ VALUES
...
@@ -15,7 +15,8 @@ VALUES
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
(
(
<
dtml
-
sqlvar
expr
=
"uid[loop_item]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"uid[loop_item]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"getSlapState[loop_item]"
type
=
"string"
optional
>
<
dtml
-
sqlvar
expr
=
"getSlapState[loop_item]"
type
=
"string"
optional
>
,
<
dtml
-
sqlvar
expr
=
"getSlapTimestamp[loop_item]"
type
=
"datetime"
optional
>
)
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
</
dtml
-
in
>
</
dtml
-
in
>
...
...
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_slapos_item_list.xml
View file @
57e41beb
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
<item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\n
<value>
<string>
uid\n
getSlapState
</string>
</value>
getSlapState\n
getSlapTimestamp
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -75,7 +76,7 @@ getSlapState</string> </value>
...
@@ -75,7 +76,7 @@ getSlapState</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
z_catalog_slapos_item_list
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
type
</string>
</key>
<key>
<string>
type
</string>
</key>
...
...
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_slapos_item.sql
View file @
57e41beb
CREATE
TABLE
`slapos_item`
(
CREATE
TABLE
`slapos_item`
(
`uid`
BIGINT
UNSIGNED
NOT
NULL
,
`uid`
BIGINT
UNSIGNED
NOT
NULL
,
`slap_state`
varchar
(
255
),
`slap_state`
varchar
(
255
),
`slap_date`
datetime
,
PRIMARY
KEY
(
`uid`
,
`slap_state`
)
PRIMARY
KEY
(
`uid`
,
`slap_state`
)
)
ENGINE
=
InnoDB
;
)
ENGINE
=
InnoDB
;
master/bt5/slapos_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_slapos_item.xml
View file @
57e41beb
...
@@ -14,9 +14,7 @@
...
@@ -14,9 +14,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<value>
<int>
0
</int>
</value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
...
@@ -28,11 +26,15 @@
...
@@ -28,11 +26,15 @@
</item>
</item>
<item>
<item>
<key>
<string>
class_file_
</string>
</key>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
class_name_
</string>
</key>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<key>
<string>
connection_hook
</string>
</key>
...
@@ -62,7 +64,7 @@
...
@@ -62,7 +64,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
z_create_slapos_item
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
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