Skip to content
Snippets Groups Projects
Commit d9101c0a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

database migration is following model

parent 384243b2
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!423Resolve "Allow to control the background and font of areas drawn from text areas in CellDesigner "layers""
......@@ -56,6 +56,7 @@ public class LayerText implements Serializable {
/**
* Text background color.
*/
@Column(name = "background_color")
private Color backgroundColor = Color.LIGHT_GRAY;
/**
......
......@@ -163,8 +163,9 @@ public abstract class Element implements BioEntity, Serializable, SbmlArgument {
private Double fontSize;
/**
* Color of filling.
* Color of the font.
*/
@Column(name = "font_color")
private Color fontColor = Color.BLACK;
/**
......
--create background color
alter table layertext add column background_color bytea default E'\\xaced00057372000e6a6176612e6177742e436f6c6f7201a51783108f337502000546000666616c70686149000576616c75654c0002637374001b4c6a6176612f6177742f636f6c6f722f436f6c6f7253706163653b5b00096672676276616c75657400025b465b00066676616c756571007e0002787000000000ffc0c0c0707070';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment