Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9fdd570
authored
Nov 06, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
minor change in new-grid-update
parent
8f31123e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
sails/roles/database/files/new-grid-system-adapt.sql
sails/roles/database/files/tmp.sql
sails/roles/database/files/new-grid-system-adapt.sql
View file @
b9fdd570
...
@@ -37,11 +37,12 @@ BEGIN
...
@@ -37,11 +37,12 @@ BEGIN
-- Carga las variables desde el JSON para free_category_coord e id_cat
-- Carga las variables desde el JSON para free_category_coord e id_cat
SELECT
_attributes
->>
"$.free_category_coord_x"
INTO
_free_category_coord_x
;
SELECT
_attributes
->>
"$.free_category_coord_x"
INTO
_free_category_coord_x
;
SELECT
_attributes
->>
"$.free_category_coord_y"
INTO
_free_category_coord_y
;
SELECT
_attributes
->>
"$.free_category_coord_y"
INTO
_free_category_coord_y
;
SELECT
_attributes
->>
"$.id_cat"
INTO
_id_cat
;
-- Esto hay que hacerlo porque el null procediente del JSON para id_cat lo reconoce como un literal
-- Esto hay que hacerlo porque el null procediente del JSON para id_cat lo reconoce como un literal
IF
_
id_cat
=
'null'
THEN
IF
_
attributes
->>
"$.id_cat"
=
'null'
THEN
SET
_id_cat
=
NULL
;
SET
_id_cat
=
NULL
;
ELSE
SELECT
_attributes
->>
"$.id_cat"
INTO
_id_cat
;
END
IF
;
END
IF
;
-- Pictogramas que estan en escenas sin categorias
-- Pictogramas que estan en escenas sin categorias
...
...
sails/roles/database/files/tmp.sql
deleted
100644 → 0
View file @
8f31123e
ALTER
USER
'root'
@
'localhost'
IDENTIFIED
BY
'ro2t'
;
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