diff --git a/pom.xml b/pom.xml
index 6648cbde3072d57c19e5a0951890bd2e5dcbc8f7..ae054fa86a694c29c74ad18d785e9cbeaa29b4ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,6 +30,9 @@
                 <hibernate.dialect>org.hibernate.dialect.H2Dialect</hibernate.dialect>
                 <schema.deploy>true</schema.deploy>
                 <frontend.redirect>http://frontend/#/home</frontend.redirect>
+                <flyway.url>${connection.url}</flyway.url>
+                <flyway.user>${connection.username}</flyway.user>
+                <flyway.password>${connection.password}</flyway.password>
             </properties>
         </profile>
         <profile>
@@ -44,6 +47,9 @@
                 <hibernate.dialect>org.hibernate.dialect.PostgreSQL82Dialect</hibernate.dialect>
                 <schema.deploy>false</schema.deploy>
                 <frontend.redirect>https://mip.humanbrainproject.eu/#/home</frontend.redirect>
+                <flyway.url>${connection.url}</flyway.url>
+                <flyway.user>${connection.username}</flyway.user>
+                <flyway.password>${connection.password}</flyway.password>
             </properties>
         </profile>
         <profile>
@@ -60,6 +66,9 @@
                 <frontend.redirect>http://frontend/home</frontend.redirect>
                 <workflow.experimentUrl>http://as-dev.cloudapp.net:8087/experiment</workflow.experimentUrl>
                 <workflow.listMethodsUrl>http://as-dev.cloudapp.net:8087/list-methods</workflow.listMethodsUrl>
+                <flyway.url>${connection.url}</flyway.url>
+                <flyway.user>${connection.username}</flyway.user>
+                <flyway.password>${connection.password}</flyway.password>
             </properties>
         </profile>
         <profile>
@@ -76,6 +85,9 @@
                 <frontend.redirect>https://hbp-dev.ahead-solutions.ch/home</frontend.redirect>
                 <workflow.experimentUrl>http://as-dev.cloudapp.net:8087/experiment</workflow.experimentUrl>
                 <workflow.listMethodsUrl>http://as-dev.cloudapp.net:8087/list-methods</workflow.listMethodsUrl>
+                <flyway.url>${connection.url}</flyway.url>
+                <flyway.user>${connection.username}</flyway.user>
+                <flyway.password>${connection.password}</flyway.password>
             </properties>
         </profile>
         <profile>
@@ -92,6 +104,9 @@
                 <frontend.redirect>http://hbps1.chuv.ch:8081/home</frontend.redirect>
                 <workflow.experimentUrl>http://as-dev.cloudapp.net:8087/experiment</workflow.experimentUrl>
                 <workflow.listMethodsUrl>http://as-dev.cloudapp.net:8087/list-methods</workflow.listMethodsUrl>
+                <flyway.url>${connection.url}</flyway.url>
+                <flyway.user>${connection.username}</flyway.user>
+                <flyway.password>${connection.password}</flyway.password>
             </properties>
         </profile>
     </profiles>
@@ -157,9 +172,9 @@
             <version>1.4.187</version>
         </dependency>
         <dependency>
-            <groupId>postgresql</groupId>
+            <groupId>org.postgresql</groupId>
             <artifactId>postgresql</artifactId>
-            <version>9.1-901-1.jdbc4</version>
+            <version>9.4-1205-jdbc42</version>
         </dependency>
         <dependency>
             <groupId>io.springfox</groupId>
@@ -233,6 +248,11 @@
                     <target>1.8</target>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.flywaydb</groupId>
+                <artifactId>flyway-maven-plugin</artifactId>
+                <version>4.0.1</version>
+            </plugin>
         </plugins>
     </build>
 
diff --git a/src/main/resources/db/migration/V1_1__Create.sql b/src/main/resources/db/migration/V1_1__Create.sql
new file mode 100644
index 0000000000000000000000000000000000000000..777f0f39d32b319df4f56f30dcc85b2642c6bbcf
--- /dev/null
+++ b/src/main/resources/db/migration/V1_1__Create.sql
@@ -0,0 +1,949 @@
+--
+-- PostgreSQL database dump
+--
+
+-- Dumped from database version 9.5.3
+-- Dumped by pg_dump version 9.5.3
+
+SET statement_timeout = 0;
+SET lock_timeout = 0;
+SET client_encoding = 'UTF8';
+SET standard_conforming_strings = on;
+SET check_function_bodies = false;
+SET client_min_messages = warning;
+SET row_security = off;
+
+--
+-- Name: postgres; Type: COMMENT; Schema: -; Owner: postgres
+--
+
+COMMENT ON DATABASE postgres IS 'default administrative connection database';
+
+
+--
+-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: 
+--
+
+CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
+
+
+--
+-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: 
+--
+
+COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
+
+
+SET search_path = public, pg_catalog;
+
+SET default_tablespace = '';
+
+SET default_with_oids = false;
+
+--
+-- Name: app; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE app (
+    id integer NOT NULL,
+    author character varying(255),
+    category character varying(255),
+    description text,
+    email character varying(255),
+    image text,
+    link character varying(255),
+    name character varying(255),
+    ratingcount integer,
+    totalrating integer
+);
+
+
+ALTER TABLE app OWNER TO postgres;
+
+--
+-- Name: article; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE article (
+    slug character varying(255) NOT NULL,
+    _abstract text,
+    content text,
+    createdat timestamp without time zone,
+    publishedat timestamp without time zone,
+    status character varying(255),
+    title character varying(255) NOT NULL,
+    updatedat timestamp without time zone,
+    createdby_username character varying(255),
+    updatedby_username character varying(255)
+);
+
+
+ALTER TABLE article OWNER TO postgres;
+
+--
+-- Name: article_tag; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE article_tag (
+    article_slug character varying(255) NOT NULL,
+    tags_name character varying(255) NOT NULL
+);
+
+
+ALTER TABLE article_tag OWNER TO postgres;
+
+--
+-- Name: config; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE config (
+    id bigint NOT NULL,
+    hasxaxis boolean,
+    height integer,
+    type character varying(255),
+    xaxisvariable character varying(255)
+);
+
+
+ALTER TABLE config OWNER TO postgres;
+
+--
+-- Name: config_title; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE config_title (
+    config_id bigint NOT NULL,
+    title character varying(255),
+    title_key character varying(255) NOT NULL
+);
+
+
+ALTER TABLE config_title OWNER TO postgres;
+
+--
+-- Name: config_yaxisvariables; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE config_yaxisvariables (
+    config_id bigint NOT NULL,
+    yaxisvariables character varying(255)
+);
+
+
+ALTER TABLE config_yaxisvariables OWNER TO postgres;
+
+--
+-- Name: dataset; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE dataset (
+    code character varying(255) NOT NULL,
+    date timestamp without time zone
+);
+
+
+ALTER TABLE dataset OWNER TO postgres;
+
+--
+-- Name: dataset_data; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE dataset_data (
+    dataset_code character varying(255) NOT NULL,
+    data bytea,
+    data_key character varying(255) NOT NULL
+);
+
+
+ALTER TABLE dataset_data OWNER TO postgres;
+
+--
+-- Name: dataset_grouping; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE dataset_grouping (
+    dataset_code character varying(255) NOT NULL,
+    "grouping" character varying(255)
+);
+
+
+ALTER TABLE dataset_grouping OWNER TO postgres;
+
+--
+-- Name: dataset_header; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE dataset_header (
+    dataset_code character varying(255) NOT NULL,
+    header character varying(255)
+);
+
+
+ALTER TABLE dataset_header OWNER TO postgres;
+
+--
+-- Name: dataset_variable; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE dataset_variable (
+    dataset_code character varying(255) NOT NULL,
+    variable character varying(255)
+);
+
+
+ALTER TABLE dataset_variable OWNER TO postgres;
+
+--
+-- Name: experiment; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE experiment (
+    uuid uuid NOT NULL,
+    algorithms text,
+    created timestamp without time zone,
+    finished timestamp without time zone,
+    haserror boolean NOT NULL,
+    hasservererror boolean NOT NULL,
+    name text,
+    result text,
+    resultsviewed boolean NOT NULL,
+    shared boolean NOT NULL,
+    validations text,
+    createdby_username character varying(255),
+    model_slug character varying(255)
+);
+
+
+ALTER TABLE experiment OWNER TO postgres;
+
+--
+-- Name: filter; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE filter (
+    id bigint NOT NULL,
+    operator character varying(255),
+    variable_code character varying(255)
+);
+
+
+ALTER TABLE filter OWNER TO postgres;
+
+--
+-- Name: filter_values; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE filter_values (
+    filter_id bigint NOT NULL,
+    "values" character varying(255)
+);
+
+
+ALTER TABLE filter_values OWNER TO postgres;
+
+--
+-- Name: group; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE "group" (
+    code character varying(255) NOT NULL,
+    label character varying(255),
+    parent_code character varying(255)
+);
+
+
+ALTER TABLE "group" OWNER TO postgres;
+
+--
+-- Name: group_group; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE group_group (
+    group_code character varying(255) NOT NULL,
+    groups_code character varying(255) NOT NULL
+);
+
+
+ALTER TABLE group_group OWNER TO postgres;
+
+--
+-- Name: hibernate_sequence; Type: SEQUENCE; Schema: public; Owner: postgres
+--
+
+CREATE SEQUENCE hibernate_sequence
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE hibernate_sequence OWNER TO postgres;
+
+--
+-- Name: model; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE model (
+    slug character varying(255) NOT NULL,
+    createdat timestamp without time zone,
+    description character varying(255),
+    textquery text,
+    title character varying(255),
+    updatedat timestamp without time zone,
+    valid boolean,
+    config_id bigint,
+    createdby_username character varying(255),
+    dataset_code character varying(255),
+    query_id bigint,
+    updatedby_username character varying(255)
+);
+
+
+ALTER TABLE model OWNER TO postgres;
+
+--
+-- Name: query; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE query (
+    id bigint NOT NULL,
+    request character varying(255)
+);
+
+
+ALTER TABLE query OWNER TO postgres;
+
+--
+-- Name: query_covariable; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE query_covariable (
+    id bigint NOT NULL,
+    code character varying(255) NOT NULL
+);
+
+
+ALTER TABLE query_covariable OWNER TO postgres;
+
+--
+-- Name: query_filter; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE query_filter (
+    query_id bigint NOT NULL,
+    filters_id bigint NOT NULL
+);
+
+
+ALTER TABLE query_filter OWNER TO postgres;
+
+--
+-- Name: query_grouping; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE query_grouping (
+    id bigint NOT NULL,
+    code character varying(255) NOT NULL
+);
+
+
+ALTER TABLE query_grouping OWNER TO postgres;
+
+--
+-- Name: query_variable; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE query_variable (
+    id bigint NOT NULL,
+    code character varying(255) NOT NULL
+);
+
+
+ALTER TABLE query_variable OWNER TO postgres;
+
+--
+-- Name: tag; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE tag (
+    name character varying(255) NOT NULL
+);
+
+
+ALTER TABLE tag OWNER TO postgres;
+
+--
+-- Name: user; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE "user" (
+    username character varying(255) NOT NULL,
+    agreenda boolean,
+    apikey character varying(255),
+    birthday character varying(255),
+    city character varying(255),
+    country character varying(255),
+    email character varying(255),
+    firstname character varying(255),
+    fullname character varying(255),
+    gender character varying(255),
+    isactive boolean,
+    lastname character varying(255),
+    password character varying(255),
+    phone character varying(255),
+    picture character varying(255),
+    team character varying(255),
+    web character varying(255)
+);
+
+
+ALTER TABLE "user" OWNER TO postgres;
+
+--
+-- Name: user_languages; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE user_languages (
+    user_username character varying(255) NOT NULL,
+    languages character varying(255)
+);
+
+
+ALTER TABLE user_languages OWNER TO postgres;
+
+--
+-- Name: user_roles; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE user_roles (
+    user_username character varying(255) NOT NULL,
+    roles character varying(255)
+);
+
+
+ALTER TABLE user_roles OWNER TO postgres;
+
+--
+-- Name: value; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE value (
+    code character varying(255) NOT NULL,
+    label character varying(255)
+);
+
+
+ALTER TABLE value OWNER TO postgres;
+
+--
+-- Name: variable; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE variable (
+    code character varying(255) NOT NULL,
+    description text,
+    iscovariable boolean,
+    isfilter boolean,
+    isgrouping boolean,
+    isvariable boolean,
+    label character varying(255),
+    length integer,
+    maxvalue double precision,
+    minvalue double precision,
+    type character varying(255),
+    units character varying(255),
+    group_code character varying(255)
+);
+
+
+ALTER TABLE variable OWNER TO postgres;
+
+--
+-- Name: variable_value; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE variable_value (
+    variable_code character varying(255) NOT NULL,
+    values_code character varying(255) NOT NULL
+);
+
+
+ALTER TABLE variable_value OWNER TO postgres;
+
+--
+-- Name: vote; Type: TABLE; Schema: public; Owner: postgres
+--
+
+CREATE TABLE vote (
+    id bigint NOT NULL,
+    value integer NOT NULL,
+    app_id integer,
+    user_username character varying(255)
+);
+
+
+ALTER TABLE vote OWNER TO postgres;
+
+
+--
+-- Name: hibernate_sequence; Type: SEQUENCE SET; Schema: public; Owner: postgres
+--
+
+SELECT pg_catalog.setval('hibernate_sequence', 1, false);
+
+
+--
+-- Name: app_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY app
+    ADD CONSTRAINT app_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: article_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY article
+    ADD CONSTRAINT article_pkey PRIMARY KEY (slug);
+
+
+--
+-- Name: config_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY config
+    ADD CONSTRAINT config_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: config_title_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY config_title
+    ADD CONSTRAINT config_title_pkey PRIMARY KEY (config_id, title_key);
+
+
+--
+-- Name: dataset_data_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY dataset_data
+    ADD CONSTRAINT dataset_data_pkey PRIMARY KEY (dataset_code, data_key);
+
+
+--
+-- Name: dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY dataset
+    ADD CONSTRAINT dataset_pkey PRIMARY KEY (code);
+
+
+--
+-- Name: experiment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY experiment
+    ADD CONSTRAINT experiment_pkey PRIMARY KEY (uuid);
+
+
+--
+-- Name: filter_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY filter
+    ADD CONSTRAINT filter_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: group_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY "group"
+    ADD CONSTRAINT group_pkey PRIMARY KEY (code);
+
+
+--
+-- Name: model_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY model
+    ADD CONSTRAINT model_pkey PRIMARY KEY (slug);
+
+
+--
+-- Name: query_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query
+    ADD CONSTRAINT query_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: tag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY tag
+    ADD CONSTRAINT tag_pkey PRIMARY KEY (name);
+
+
+--
+-- Name: uk_39uwjlq8i49lng83ca3ksh4mg; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY group_group
+    ADD CONSTRAINT uk_39uwjlq8i49lng83ca3ksh4mg UNIQUE (groups_code);
+
+
+--
+-- Name: uk_kyrua54629jbk1ir780vji7s3; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_filter
+    ADD CONSTRAINT uk_kyrua54629jbk1ir780vji7s3 UNIQUE (filters_id);
+
+
+--
+-- Name: user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY "user"
+    ADD CONSTRAINT user_pkey PRIMARY KEY (username);
+
+
+--
+-- Name: value_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY value
+    ADD CONSTRAINT value_pkey PRIMARY KEY (code);
+
+
+--
+-- Name: variable_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY variable
+    ADD CONSTRAINT variable_pkey PRIMARY KEY (code);
+
+
+--
+-- Name: vote_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY vote
+    ADD CONSTRAINT vote_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: fk_1fwrodma3jyox5kjqwpfegx1f; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_covariable
+    ADD CONSTRAINT fk_1fwrodma3jyox5kjqwpfegx1f FOREIGN KEY (code) REFERENCES variable(code);
+
+
+--
+-- Name: fk_1kjpgxiphmdwn94d3wswywktw; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY user_roles
+    ADD CONSTRAINT fk_1kjpgxiphmdwn94d3wswywktw FOREIGN KEY (user_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_27affffd93lg54wkfi0eum3tm; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY model
+    ADD CONSTRAINT fk_27affffd93lg54wkfi0eum3tm FOREIGN KEY (config_id) REFERENCES config(id);
+
+
+--
+-- Name: fk_39uwjlq8i49lng83ca3ksh4mg; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY group_group
+    ADD CONSTRAINT fk_39uwjlq8i49lng83ca3ksh4mg FOREIGN KEY (groups_code) REFERENCES "group"(code);
+
+
+--
+-- Name: fk_3h0auvt8ej4raxwr7m4ua788f; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY model
+    ADD CONSTRAINT fk_3h0auvt8ej4raxwr7m4ua788f FOREIGN KEY (query_id) REFERENCES query(id);
+
+
+--
+-- Name: fk_4jo0ysx9u1qrunx8ilmty3dvb; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_variable
+    ADD CONSTRAINT fk_4jo0ysx9u1qrunx8ilmty3dvb FOREIGN KEY (id) REFERENCES query(id);
+
+
+--
+-- Name: fk_4kkhjrytsb3at05o5h7dqp2en; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_grouping
+    ADD CONSTRAINT fk_4kkhjrytsb3at05o5h7dqp2en FOREIGN KEY (code) REFERENCES variable(code);
+
+
+--
+-- Name: fk_4m4cg0j1mtk42t739eer0l6ie; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY article_tag
+    ADD CONSTRAINT fk_4m4cg0j1mtk42t739eer0l6ie FOREIGN KEY (article_slug) REFERENCES article(slug);
+
+
+--
+-- Name: fk_4yrfkom9tsbomi7ddq9yaaet6; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY vote
+    ADD CONSTRAINT fk_4yrfkom9tsbomi7ddq9yaaet6 FOREIGN KEY (app_id) REFERENCES app(id);
+
+
+--
+-- Name: fk_55phec4qkjfaf40o26ainqh04; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_grouping
+    ADD CONSTRAINT fk_55phec4qkjfaf40o26ainqh04 FOREIGN KEY (id) REFERENCES query(id);
+
+
+--
+-- Name: fk_6nlwicucyu66eo2crmm7faysc; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY dataset_variable
+    ADD CONSTRAINT fk_6nlwicucyu66eo2crmm7faysc FOREIGN KEY (dataset_code) REFERENCES dataset(code);
+
+
+--
+-- Name: fk_728j4s15p4hjh1hgi69n6odht; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY experiment
+    ADD CONSTRAINT fk_728j4s15p4hjh1hgi69n6odht FOREIGN KEY (model_slug) REFERENCES model(slug);
+
+
+--
+-- Name: fk_7amk7wobwicj4eu9kg27ath5d; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY config_yaxisvariables
+    ADD CONSTRAINT fk_7amk7wobwicj4eu9kg27ath5d FOREIGN KEY (config_id) REFERENCES config(id);
+
+
+--
+-- Name: fk_87oyy59jkinfuuav3fgg778b1; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY dataset_data
+    ADD CONSTRAINT fk_87oyy59jkinfuuav3fgg778b1 FOREIGN KEY (dataset_code) REFERENCES dataset(code);
+
+
+--
+-- Name: fk_9qh6d61269tit9ylbiw1io9ss; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY model
+    ADD CONSTRAINT fk_9qh6d61269tit9ylbiw1io9ss FOREIGN KEY (updatedby_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_bbtsxjmsa5mb44u8bnhiru8tx; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY variable
+    ADD CONSTRAINT fk_bbtsxjmsa5mb44u8bnhiru8tx FOREIGN KEY (group_code) REFERENCES "group"(code);
+
+
+--
+-- Name: fk_cibo3wr7epeda4ihp4mk2uj3i; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY group_group
+    ADD CONSTRAINT fk_cibo3wr7epeda4ihp4mk2uj3i FOREIGN KEY (group_code) REFERENCES "group"(code);
+
+
+--
+-- Name: fk_cl2hlvgcj1eunkncaeg7gjmv2; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY variable_value
+    ADD CONSTRAINT fk_cl2hlvgcj1eunkncaeg7gjmv2 FOREIGN KEY (variable_code) REFERENCES variable(code);
+
+
+--
+-- Name: fk_dsqlojxvp4ugf7lfwkmtfyoyq; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY dataset_header
+    ADD CONSTRAINT fk_dsqlojxvp4ugf7lfwkmtfyoyq FOREIGN KEY (dataset_code) REFERENCES dataset(code);
+
+
+--
+-- Name: fk_emu14hoeeji8n0dvgy0xe1w0m; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY "group"
+    ADD CONSTRAINT fk_emu14hoeeji8n0dvgy0xe1w0m FOREIGN KEY (parent_code) REFERENCES "group"(code);
+
+
+--
+-- Name: fk_fxr8crpi28t12c5uis744oaf5; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY config_title
+    ADD CONSTRAINT fk_fxr8crpi28t12c5uis744oaf5 FOREIGN KEY (config_id) REFERENCES config(id);
+
+
+--
+-- Name: fk_gaanmaixpa38dt6rpkaclip0p; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY model
+    ADD CONSTRAINT fk_gaanmaixpa38dt6rpkaclip0p FOREIGN KEY (dataset_code) REFERENCES dataset(code);
+
+
+--
+-- Name: fk_hvivt77kdqt578xw1euc4ps2p; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY article_tag
+    ADD CONSTRAINT fk_hvivt77kdqt578xw1euc4ps2p FOREIGN KEY (tags_name) REFERENCES tag(name);
+
+
+--
+-- Name: fk_ixt1r76x6eb8571d1rejyrf6d; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY filter_values
+    ADD CONSTRAINT fk_ixt1r76x6eb8571d1rejyrf6d FOREIGN KEY (filter_id) REFERENCES filter(id);
+
+
+--
+-- Name: fk_kyrua54629jbk1ir780vji7s3; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_filter
+    ADD CONSTRAINT fk_kyrua54629jbk1ir780vji7s3 FOREIGN KEY (filters_id) REFERENCES filter(id);
+
+
+--
+-- Name: fk_l1ltbtlvoof7ff3rpk33tkygi; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_variable
+    ADD CONSTRAINT fk_l1ltbtlvoof7ff3rpk33tkygi FOREIGN KEY (code) REFERENCES variable(code);
+
+
+--
+-- Name: fk_l31vqnacpxbb2jmp326n9enmw; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY variable_value
+    ADD CONSTRAINT fk_l31vqnacpxbb2jmp326n9enmw FOREIGN KEY (values_code) REFERENCES value(code);
+
+
+--
+-- Name: fk_lfvyrnhv3soykf3kodgnkx74o; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY user_languages
+    ADD CONSTRAINT fk_lfvyrnhv3soykf3kodgnkx74o FOREIGN KEY (user_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_mm0iove438omw0pl3xdlxsa6l; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY filter
+    ADD CONSTRAINT fk_mm0iove438omw0pl3xdlxsa6l FOREIGN KEY (variable_code) REFERENCES variable(code);
+
+
+--
+-- Name: fk_mq1vuehgh2leq8g9dtdp0l6nq; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY model
+    ADD CONSTRAINT fk_mq1vuehgh2leq8g9dtdp0l6nq FOREIGN KEY (createdby_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_op53w7utnopm4ec3j1003bk8v; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_filter
+    ADD CONSTRAINT fk_op53w7utnopm4ec3j1003bk8v FOREIGN KEY (query_id) REFERENCES query(id);
+
+
+--
+-- Name: fk_piooelhlqdg5ecwucse8jmpyx; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY experiment
+    ADD CONSTRAINT fk_piooelhlqdg5ecwucse8jmpyx FOREIGN KEY (createdby_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_px2lsjf6f4aajnrno4e3qiiav; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY dataset_grouping
+    ADD CONSTRAINT fk_px2lsjf6f4aajnrno4e3qiiav FOREIGN KEY (dataset_code) REFERENCES dataset(code);
+
+
+--
+-- Name: fk_qlchk27g13xbd68uy13gwmkp; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY query_covariable
+    ADD CONSTRAINT fk_qlchk27g13xbd68uy13gwmkp FOREIGN KEY (id) REFERENCES query(id);
+
+
+--
+-- Name: fk_qqo7ebj6u7gaymh4055f3cqcu; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY article
+    ADD CONSTRAINT fk_qqo7ebj6u7gaymh4055f3cqcu FOREIGN KEY (updatedby_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_sj9qxyo9ebe3rs9schj6cv15l; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY article
+    ADD CONSTRAINT fk_sj9qxyo9ebe3rs9schj6cv15l FOREIGN KEY (createdby_username) REFERENCES "user"(username);
+
+
+--
+-- Name: fk_tjxqe691ce40h4cafbek3l27q; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+--
+
+ALTER TABLE ONLY vote
+    ADD CONSTRAINT fk_tjxqe691ce40h4cafbek3l27q FOREIGN KEY (user_username) REFERENCES "user"(username);
+
+
+--
+-- Name: public; Type: ACL; Schema: -; Owner: postgres
+--
+
+REVOKE ALL ON SCHEMA public FROM PUBLIC;
+REVOKE ALL ON SCHEMA public FROM postgres;
+GRANT ALL ON SCHEMA public TO postgres;
+GRANT ALL ON SCHEMA public TO PUBLIC;
+
+
+--
+-- PostgreSQL database dump complete
+--
+
diff --git a/src/main/resources/db/migration/V1_2__AddGroups.sql b/src/main/resources/db/migration/V1_2__AddGroups.sql
new file mode 100644
index 0000000000000000000000000000000000000000..61854062ad639f92d7092572ffe2322cef81d25d
--- /dev/null
+++ b/src/main/resources/db/migration/V1_2__AddGroups.sql
@@ -0,0 +1,131 @@
+--
+-- Add group
+--
+
+COPY "group" (code, label, parent_code) FROM stdin;
+root	root	\N
+no-group	no-group	root
+provenance	provenance	root
+source	source	provenance
+protocol	protocol	provenance
+date	date	provenance
+brain_metabolism	brain_metabolism	root
+PET	PET	brain_metabolism
+brain_scan	brain_scan	root
+machine	machine	brain_scan
+clinical	clinical	root
+diagnostic	diagnostic	clinical
+cognition	cognition	clinical
+ecog	ECoG	cognition
+adas	ADAS	cognition
+mmse	MMSE	cognition
+ravlt	RAVLT	cognition
+moca	MOCA	cognition
+faq	FAQ	cognition
+cdrsb	CDRSB	cognition
+Date	Date	root
+year	year	Date
+demographic	demographic	root
+age	age	demographic
+genre	genre	demographic
+education	education	demographic
+ethny	ethny	demographic
+country	country	demographic
+marital	marital	demographic
+genetic	Genetic	root
+polymorphism	polymorphism	genetic
+APOE	APOE	polymorphism
+visit	visit	root
+number	number	visit
+period	period	visit
+brain	Brain	root
+brain_anatomy	Brain anatomy	brain
+grey_matter_volume	Grey matter volume	brain_anatomy
+insula	Insula	grey_matter_volume
+frontal	Frontal	grey_matter_volume
+orbitalgyrus	Orbitalgyrus	frontal
+parietal	Parietal	grey_matter_volume
+occipital	Occipital	grey_matter_volume
+temporal	Temporal	grey_matter_volume
+limbic	Limbic	grey_matter_volume
+cerebral_nuclei	Cerebral nuclei	grey_matter_volume
+basal_ganglia	Basal Ganglia	cerebral_nuclei
+amygdala	Amygdala	cerebral_nuclei
+basal_forebrain	Basal forebrain	cerebral_nuclei
+csf	CSF	brain_anatomy
+ventricule	Ventricule	csf
+white_matter_volume	White matter volume	brain_anatomy
+BrainStem	Brain stem	white_matter_volume
+GlobalWhiteMatter	Global	white_matter_volume
+CerebellumWhiteMatter	Cerebellum	white_matter_volume
+OpticChiasmWhiteMatter	OpticChiasm	white_matter_volume
+diencephalon	Diencephalon	white_matter_volume
+vessel	Vessel	white_matter_volume
+grey_matter_surface	Grey matter surface	brain
+\.
+
+
+--
+-- Add group_group
+--
+
+COPY group_group (group_code, groups_code) FROM stdin;
+provenance	source
+provenance	protocol
+provenance	date
+brain_metabolism	PET
+brain_scan	machine
+cognition	ecog
+cognition	adas
+cognition	mmse
+cognition	ravlt
+cognition	moca
+cognition	faq
+cognition	cdrsb
+clinical	diagnostic
+clinical	cognition
+Date	year
+demographic	age
+demographic	genre
+demographic	education
+demographic	ethny
+demographic	country
+demographic	marital
+polymorphism	APOE
+genetic	polymorphism
+visit	number
+visit	period
+frontal	orbitalgyrus
+cerebral_nuclei	basal_ganglia
+cerebral_nuclei	amygdala
+cerebral_nuclei	basal_forebrain
+grey_matter_volume	insula
+grey_matter_volume	frontal
+grey_matter_volume	parietal
+grey_matter_volume	occipital
+grey_matter_volume	temporal
+grey_matter_volume	limbic
+grey_matter_volume	cerebral_nuclei
+csf	ventricule
+white_matter_volume	BrainStem
+white_matter_volume	GlobalWhiteMatter
+white_matter_volume	CerebellumWhiteMatter
+white_matter_volume	OpticChiasmWhiteMatter
+white_matter_volume	diencephalon
+white_matter_volume	vessel
+brain_anatomy	grey_matter_volume
+brain_anatomy	csf
+brain_anatomy	white_matter_volume
+brain	brain_anatomy
+brain	grey_matter_surface
+root	no-group
+root	provenance
+root	brain_metabolism
+root	brain_scan
+root	clinical
+root	Date
+root	demographic
+root	genetic
+root	visit
+root	brain
+\.
diff --git a/src/main/resources/db/migration/V1_3__AddVariables.sql b/src/main/resources/db/migration/V1_3__AddVariables.sql
new file mode 100644
index 0000000000000000000000000000000000000000..6f052022c9cca47ef4de88ef4a0c01ef7077a43a
--- /dev/null
+++ b/src/main/resources/db/migration/V1_3__AddVariables.sql
@@ -0,0 +1,232 @@
+--
+-- Add variable
+--
+
+COPY variable (code, description, iscovariable, isfilter, isgrouping, isvariable, label, length, maxvalue, minvalue, type, units, group_code) FROM stdin;
+RID	\N	f	f	f	t	RID	38	\N	\N	N	\N	no-group
+PTID	\N	f	f	f	t	PTID	\N	\N	\N	T	\N	no-group
+VISCODE	\N	t	f	t	t	VISCODE	20	\N	\N	T	\N	no-group
+SITE	\N	t	f	t	t	SITE	\N	\N	\N	I	\N	source
+COLPROT	\N	t	f	t	t	COLPROT	\N	\N	\N	T	\N	protocol
+ORIGPROT	\N	t	f	t	t	ORIGPROT	\N	\N	\N	T	\N	protocol
+EXAMDATE	\N	f	f	f	t	EXAMDATE	10	\N	\N	D	\N	date
+DX_bl	Baseline diagnostic	t	f	t	t	DX_bl	\N	\N	\N	T	\N	diagnostic
+AGE	Chronological age refers to the calendar age. It is the number of years that have elapsed from birth to the exam date.\n                                            Age remains the greatest risk factor for Alzheimer's and is thus a fundamental driver for development of the disease. Although Alzheimer's is not a normal part of growing older, the greatest risk factor for the disease is increasing age. Data from the multiple studies show that the incidence of Alzheimer's disease rises exponentially after the sixth decade of life. After age 65, the risk of Alzheimer's doubles every five years. After age 85, the risk reaches nearly 50 percent.\n                                            See: https://www.alzheimers.org.uk/site/scripts/documents_info.php?documentID=102\n                                            Brandalyn C.Riedel, Paul M.Thompson, Roberta Diaz Brinton, Age, APOE and Sex: Triad of Risk of Alzheimer's Disease, Journal of Steroid Biochemistry and Molecular Biology http://dx.doi.org/10.1016/j.jsbmb.2016.03.012	t	t	t	t	AGE	3	130	0	I	\N	age
+PTGENDER	Refers to the socially constructed characteristics of women and men.\n                                            The female prevalence of AD is well documented and is generally attributed to the greater life span of women relative to men. Globally, women outlive men by an average of 4.5 years. However, survival of males is projected to be comparable to females with near equality in longevity between females and males.\n                                            See: Michelle M. Mielke, Prashanthi. Vemuri, Walter A. Rocca, Clinical epidemiology of Alzheimer's disease: assessing sex and gender differences. Clinical Epidemiology 2014:6 37–4.\n                                            Brandalyn C.Riedel, Paul M.Thompson, Roberta Diaz Brinton, Age, APOE and Sex: Triad of Risk of Alzheimer's Disease, Journal of Steroid Biochemistry and Molecular Biology http://dx.doi.org/10.1016/j.jsbmb.2016.03.012	t	f	t	t	PTGENDER	1	\N	\N	T	\N	genre
+PTEDUCAT	Education level (years)	t	t	t	t	PTEDUCAT	2	20	0	I	\N	education
+PTETHCAT	\N	t	f	t	t	PTETHCAT	\N	\N	\N	T	\N	ethny
+PTRACCAT	\N	t	f	t	t	PTRACCAT	\N	\N	\N	T	\N	country
+PTMARRY	\N	t	f	t	t	PTMARRY	\N	\N	\N	T	\N	marital
+APOE4	Apolipoprotein E (APOE) gene is the strongest risk factor for Late Onset Alzheimer Disease (LOAD).\n                                            Risk genes increase the likelihood of developing a disease, but do not guarantee it will happen. Researchers have found several genes that increase the risk of Alzheimer's. APOE-e4 is the first risk gene identified, and remains the gene with strongest impact on risk. APOE-e4 is one of three common forms of the APOE gene; the others are APOE-e2 and APOE-e3. Everyone inherits a copy of some form of APOE from each parent. Those who inherit one copy of APOE-e4 have an increased risk of developing Alzheimer's. Those who inherit two copies have an even higher risk, but not a certainty. In addition to raising risk, APOE-e4 may tend to make symptoms appear at a younger age than usual. Scientists estimate that APOE-e4 is implicated in about 20 percent to 25 percent of Alzheimer's cases.\n                                            See Genetics and Alzheimer's:\n                                            http://www.alz.org/research/science/alzheimers_disease_causes.asp#apoe\n                                            More information:\n                                            Apolipoprotein E and Alzheimer disease: risk, mechanisms, and therapy.\n                                            Liu, C.-C. et al. Nat Rev Neurol . 2013 February ; 9(2): 106–118. doi:10.1038/nrneurol.2012.263	t	f	t	t	APOE4	1	2	0	I	\N	APOE
+FDG	\N	t	t	t	t	FDG	\N	\N	\N	N	\N	PET
+PIB	\N	t	t	t	t	PIB	\N	\N	\N	N	\N	PET
+AV45	\N	t	t	t	t	AV45	\N	\N	\N	N	\N	brain_metabolism
+CDRSB	Clinical dementia rate (sum of box)	t	t	t	t	CDRSB	\N	\N	\N	N	\N	cdrsb
+ADAS11	ADAS SCORE based in 11 items	t	t	t	t	ADAS11	\N	\N	\N	N	\N	adas
+ADAS13	ADAS SCORE based in 13 items (new version)	t	t	t	t	ADAS13	\N	\N	\N	N	\N	adas
+MMSE	MINI-MENTAL STATE EXAM TOTAL SCORE is a global assessment of cognitive status (Folstein et al., 1975). The MMSE is a very brief, easily administered mental status examination that has proved to be a highly reliable and valid instrument for detecting and tracking the progression of the cognitive impairment associated with neurodegenerative diseases. Consequently, the MMSE is the most widely used mental status examination in the world. The MMSE is a fully structured scale that consists of 30 points grouped into seven categories. A perfect score is 30 points; a score of 24 is the recommended, and most frequently used, cutpoint for dementia; a score of 23 or lower indicates dementia. The MMSE takes only 5-10 minutes to administer and is therefore practical to use repeatedly and routinely.\n                                            See also\n                                            For Mini-Mental State Examination (MMSE) description see: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3638088/pdf/nihms454086.pdf	t	t	t	t	MMSE	\N	\N	\N	N	\N	mmse
+RAVLT	\N	t	t	t	t	RAVLT	\N	\N	\N	N	\N	ravlt
+RAVLT_immediate	\N	t	t	t	t	RAVLT_immediate	\N	\N	\N	N	\N	ravlt
+FAQ	FUNCTIONAL ASSESSMENT QUESTIONNAIRE total score	t	t	t	t	FAQ	\N	\N	\N	N	\N	faq
+MOCA	MONTREAL COGNITIVE ASSESMENT TOTAL SCORE	t	t	t	t	MOCA	\N	\N	\N	N	\N	moca
+EcogPtMem	\N	t	t	t	t	EcogPtMem	\N	\N	\N	N	\N	ecog
+EcogPtLang	\N	t	t	t	t	EcogPtLang	\N	\N	\N	N	\N	ecog
+EcogPtVisspat	\N	t	t	t	t	EcogPtVisspat	\N	\N	\N	N	\N	ecog
+EcogPtPlan	\N	t	t	t	t	EcogPtPlan	\N	\N	\N	N	\N	ecog
+EcogPtOrgan	\N	t	t	t	t	EcogPtOrgan	\N	\N	\N	N	\N	ecog
+EcogPtDivatt	\N	t	t	t	t	EcogPtDivatt	\N	\N	\N	N	\N	ecog
+EcogPtTotal	\N	t	t	t	t	EcogPtTotal	\N	\N	\N	N	\N	ecog
+EcogSPMem	\N	t	t	t	t	EcogSPMem	\N	\N	\N	N	\N	ecog
+EcogSPLang	\N	t	t	t	t	EcogSPLang	\N	\N	\N	N	\N	ecog
+EcogSPVisspat	\N	t	t	t	t	EcogSPVisspat	\N	\N	\N	N	\N	ecog
+EcogSPPlan	\N	t	t	t	t	EcogSPPlan	\N	\N	\N	N	\N	ecog
+EcogSPOrgan	\N	t	t	t	t	EcogSPOrgan	\N	\N	\N	N	\N	ecog
+EcogSPDivatt	\N	t	t	t	t	EcogSPDivatt	\N	\N	\N	N	\N	ecog
+EcogSPTotal	\N	t	t	t	t	EcogSPTotal	\N	\N	\N	N	\N	ecog
+Ventricles	\N	t	t	t	t	Ventricles	\N	\N	\N	N	\N	ventricule
+Hippocampus	\N	t	t	t	t	Hippocampus	\N	\N	\N	N	\N	grey_matter_surface
+WholeBrain	\N	t	t	t	t	WholeBrain	\N	\N	\N	N	\N	grey_matter_surface
+Entorhinal	\N	t	t	t	t	Entorhinal	\N	\N	\N	N	\N	limbic
+Fusiform	\N	t	t	t	t	Fusiform	\N	\N	\N	N	\N	grey_matter_surface
+MidTemp	\N	t	t	t	t	MidTemp	\N	\N	\N	N	\N	grey_matter_surface
+ICV	\N	t	t	t	t	ICV	\N	\N	\N	N	\N	grey_matter_surface
+DX	Diagnostic status based in clinical/cognitive evaluation (AD, MCI, NC)\n                                            Probable AD dementia (AD): is diagnosed when the patient has the following characteristics: A. Insidious onset. Symptoms have a gradual onset over months to years, not sudden over hours or days; B. Clear-cut history of worsening of cognition by report observation; and C. The initial and most prominent cognitive deficits are evident on history and examination in one of the following categories. a. Amnestic presentation b. Nonamnestic presentations: Language presentation, Visuospatial presentation, Executive dysfunctiont. D. The diagnosis of probable AD dementia should not be applied when there is evidence of (a) substantial concomitant cerebrovascular disease or the presence of multiple or extensive infarcts or severe white matter hyperintensity burden; or (b) core features of Dementia with Lewy bodies other than dementia itself; or (c) prominent features of behavioral variant frontotemporal dementia; or (d) prominent features of semantic variant primary progressive aphasia or non-fluent/agrammatic variant primary progressive aphasia; or (e) evidence for another concurrent, active neurological disease, or a non-neurological medical comorbidity or use of medication that could have a substantial effect on cognition.\n                                            Mild Cognitive Impairment (MCI):  is defined by a decline in cognitive functioning that is greater than would be expected for the patient's age and educational background and that goes beyond normal changes seen in ageing. This decline from a previous level can include a variety of cognitive domains, including learning and memory, complex attention, executive functions, language, perceptual-motor domain and social cognition , although it is common that decline manifests in a single domain only. Changes in cognitive functioning should be serious enough to be noticed either by the individuals experiencing them, by other people who know the patient well or by a skilled clinician in an appropriate clinical context.\n                                            Healthy Aging (NC): Healthy biological ageing includes survival to old age, delay in the onset of non-communicable diseases  and optimal functioning for the maximal period at individual levels (physical and cognitive capability), body systems and cells. “Health” refers to physical, mental and social well-being as expressed in the WHO definition of health. Maintaining autonomy and independence of elderly people is a key goal in the policy framework for active ageing.\n                                            See also:\n                                            Basic Concept of AD and 2015 World Alzheimer Report:\n                                            http://www.alz.org/alzheimers_disease_what_is_alzheimers.asp\n                                            http://www.alz.co.uk/research/WorldAlzheimerReport2015.pdf\n                                            See Mild cognitive impairment (MCI): http://www.alz.org/research/science/earlier_alzheimers_diagnosis.asp#Mild\n                                            Video: Identifying mild cognitive impairment (approx. 21 min.)\n                                            http://www.alz.org/research/video/video_pages/identifying_mild_cognitive_impairment.html\n                                            For National Institute on Aging and the Alzheimer's Association workgroup criteria (NINCDS/ADRDA) for probable AD see:  http://www.alz.org/documents_custom/Diagnostic_Recommendations_Alz_proof.pdf\n                                            For National Institute on Aging and the Alzheimer's Association workgroup criteria (NINCDS/ADRDA) for probable AD see:  http://www.alz.org/documents_custom/Diagnostic_Recommendations_Alz_proof.pdf\n                                            http://www.alz.org/alzheimers_disease_what_is_alzheimers.asp\n                                            For video:\n                                            http://www.alz.org/research/video/alzheimers_videos_and_media_understanding.asp	t	f	t	t	DX	\N	\N	\N	T	\N	diagnostic
+EXAMDATE_bl	\N	t	t	t	t	EXAMDATE_bl	\N	\N	\N	D	\N	date
+CDRSB_bl	Baseline Clinical dementia rate (sum of box)	t	t	t	t	CDRSB_bl	\N	\N	\N	N	\N	cdrsb
+ADAS11_bl	Baseline ADAS SCORE based in 11 items	t	t	t	t	ADAS11_bl	\N	\N	\N	N	\N	adas
+ADAS13_bl	Baseline ADAS SCORE based in 13 items (new version)	t	t	t	t	ADAS13_bl	\N	\N	\N	N	\N	adas
+MMSE_bl	Baseline MINI-MENTAL STATE EXAM TOTAL SCORE	t	t	t	t	MMSE_bl	\N	\N	\N	N	\N	mmse
+RAVLT_bl	REY AUDITORY VERBAL LEARNING TEST	t	t	t	t	RAVLT_bl	\N	\N	\N	N	\N	ravlt
+RAVLT_immediate_bl	REY AUDITORY VERBAL LEARNING TEST	t	t	t	t	RAVLT_immediate_bl	\N	\N	\N	N	\N	ravlt
+FAQ_bl	Baseline FUNCTIONAL ASSESSMENT QUESTIONNAIRE total score	t	t	t	t	FAQ_bl	\N	\N	\N	N	\N	faq
+Ventricles_bl	\N	t	t	t	t	Ventricles_bl	\N	\N	\N	N	\N	ventricule
+Hippocampus_bl	\N	t	t	t	t	Hippocampus_bl	\N	\N	\N	N	\N	grey_matter_surface
+WholeBrain_bl	\N	t	t	t	t	WholeBrain_bl	\N	\N	\N	N	\N	grey_matter_surface
+Entorhinal_bl	\N	t	t	t	t	Entorhinal_bl	\N	\N	\N	N	\N	grey_matter_surface
+Fusiform_bl	\N	t	t	t	t	Fusiform_bl	\N	\N	\N	N	\N	grey_matter_surface
+MidTemp_bl	\N	t	t	t	t	MidTemp_bl	\N	\N	\N	N	\N	grey_matter_surface
+ICV_bl	\N	t	t	t	t	ICV_bl	\N	\N	\N	N	\N	grey_matter_surface
+MOCA_bl	Baseline MONTREAL COGNITIVE ASSESMENT TOTAL SCORE	t	t	t	t	MOCA_bl	\N	\N	\N	N	\N	moca
+EcogPtMem_bl	\N	t	t	t	t	EcogPtMem_bl	\N	\N	\N	N	\N	ecog
+EcogPtLang_bl	\N	t	t	t	t	EcogPtLang_bl	\N	\N	\N	N	\N	ecog
+EcogPtVisspat_bl	\N	t	t	t	t	EcogPtVisspat_bl	\N	\N	\N	N	\N	ecog
+EcogPtPlan_bl	\N	t	t	t	t	EcogPtPlan_bl	\N	\N	\N	N	\N	ecog
+EcogPtOrgan_bl	\N	t	t	t	t	EcogPtOrgan_bl	\N	\N	\N	N	\N	ecog
+EcogPtDivatt_bl	\N	t	t	t	t	EcogPtDivatt_bl	\N	\N	\N	N	\N	ecog
+EcogPtTotal_bl	\N	t	t	t	t	EcogPtTotal_bl	\N	\N	\N	N	\N	ecog
+EcogSPMem_bl	\N	t	t	t	t	EcogSPMem_bl	\N	\N	\N	N	\N	ecog
+EcogSPLang_bl	\N	t	t	t	t	EcogSPLang_bl	\N	\N	\N	N	\N	ecog
+EcogSPVisspat_bl	\N	t	t	t	t	EcogSPVisspat_bl	\N	\N	\N	N	\N	ecog
+EcogSPPlan_bl	\N	t	t	t	t	EcogSPPlan_bl	\N	\N	\N	N	\N	ecog
+EcogSPOrgan_bl	\N	t	t	t	t	EcogSPOrgan_bl	\N	\N	\N	N	\N	ecog
+EcogSPDivatt_bl	\N	t	t	t	t	EcogSPDivatt_bl	\N	\N	\N	N	\N	ecog
+EcogSPTotal_bl	\N	t	t	t	t	EcogSPTotal_bl	\N	\N	\N	N	\N	ecog
+FDG_bl	\N	t	t	t	t	FDG_bl	\N	\N	\N	N	\N	PET
+PIB_bl	\N	t	t	t	t	PIB_bl	\N	\N	\N	N	\N	PET
+AV45_bl	\N	t	t	t	t	AV45_bl	\N	\N	\N	N	\N	PET
+Years_bl	\N	t	t	t	t	Years_bl	\N	\N	\N	N	\N	year
+Month_bl	\N	t	t	t	t	Month_bl	\N	\N	\N	N	\N	no-group
+Month	\N	t	t	t	t	Month	\N	\N	\N	N	\N	no-group
+ScanDate	\N	t	t	t	t	ScanDate	10	\N	\N	D	\N	date
+VisitCode	\N	f	f	f	t	VisitCode	\N	\N	\N	T	\N	date
+VisitNumber	\N	t	f	t	t	VisitNumber	\N	\N	\N	I	\N	number
+TotalNumberofVisits	\N	t	f	t	t	TotalNumberofVisits	\N	\N	\N	I	\N	number
+PeriodTime	\N	t	t	t	t	PeriodTime	\N	\N	\N	N	\N	period
+MRIScanner	\N	t	f	t	t	MRIScanner	\N	\N	\N	N	\N	machine
+3rdVentricle	\N	t	t	t	t	3rdVentricle	20	\N	\N	N	cm3	ventricule
+4thVentricle	\N	t	t	t	t	4thVentricle	20	\N	\N	N	cm3	ventricule
+RightAccumbensArea	\N	t	t	t	t	RightAccumbensArea	20	\N	\N	N	cm3	basal_ganglia
+LeftAccumbensArea	\N	t	t	t	t	LeftAccumbensArea	20	\N	\N	N	cm3	basal_ganglia
+RightAmygdala	\N	t	t	t	t	RightAmygdala	20	\N	\N	N	cm3	amygdala
+LeftAmygdala	\N	t	t	t	t	LeftAmygdala	20	\N	\N	N	cm3	amygdala
+BrainStem	\N	t	t	t	t	BrainStem	20	\N	\N	N	cm3	BrainStem
+RightCaudate	\N	t	t	t	t	RightCaudate	20	\N	\N	N	cm3	basal_ganglia
+LeftCaudate	\N	t	t	t	t	LeftCaudate	20	\N	\N	N	cm3	basal_ganglia
+RightCerebellumExterior	\N	t	t	t	t	RightCerebellumExterior	20	\N	\N	N	cm3	grey_matter_surface
+LeftCerebellumExterior	\N	t	t	t	t	LeftCerebellumExterior	20	\N	\N	N	cm3	grey_matter_surface
+RightCerebellumWhiteMatter	\N	t	t	t	t	RightCerebellumWhiteMatter	20	\N	\N	N	cm3	CerebellumWhiteMatter
+LeftCerebellumWhiteMatter	\N	t	t	t	t	LeftCerebellumWhiteMatter	20	\N	\N	N	cm3	CerebellumWhiteMatter
+RightCerebralWhiteMatter	\N	t	t	t	t	RightCerebralWhiteMatter	20	\N	\N	N	cm3	GlobalWhiteMatter
+LeftCerebralWhiteMatter	\N	t	t	t	t	LeftCerebralWhiteMatter	20	\N	\N	N	cm3	GlobalWhiteMatter
+CSF	\N	t	t	t	t	CSF	20	\N	\N	N	cm3	GlobalWhiteMatter
+RightHippocampus	\N	t	t	t	t	RightHippocampus	20	\N	\N	N	cm3	grey_matter_surface
+LeftHippocampus	\N	t	t	t	t	LeftHippocampus	20	\N	\N	N	cm3	grey_matter_surface
+RightInfLatVent	\N	t	t	t	t	RightInfLatVent	20	\N	\N	N	cm3	ventricule
+LeftInfLatVent	\N	t	t	t	t	LeftInfLatVent	20	\N	\N	N	cm3	ventricule
+RightLateralVentricle	\N	t	t	t	t	RightLateralVentricle	20	\N	\N	N	cm3	ventricule
+LeftLateralVentricle	\N	t	t	t	t	LeftLateralVentricle	20	\N	\N	N	cm3	ventricule
+RightPallidum	\N	t	t	t	t	RightPallidum	20	\N	\N	N	cm3	basal_ganglia
+LeftPallidum	\N	t	t	t	t	LeftPallidum	20	\N	\N	N	cm3	basal_ganglia
+RightPutamen	\N	t	t	t	t	RightPutamen	20	\N	\N	N	cm3	basal_ganglia
+LeftPutamen	\N	t	t	t	t	LeftPutamen	20	\N	\N	N	cm3	basal_ganglia
+RightThalamusProper	\N	t	t	t	t	RightThalamusProper	20	\N	\N	N	cm3	grey_matter_surface
+LeftThalamusProper	\N	t	t	t	t	LeftThalamusProper	20	\N	\N	N	cm3	grey_matter_surface
+RightVentralDC	\N	t	t	t	t	RightVentralDC	20	\N	\N	N	cm3	diencephalon
+LeftVentralDC	\N	t	t	t	t	LeftVentralDC	20	\N	\N	N	cm3	diencephalon
+Rightvessel	\N	t	t	t	t	Rightvessel	20	\N	\N	N	cm3	vessel
+Leftvessel	\N	t	t	t	t	Leftvessel	20	\N	\N	N	cm3	vessel
+OpticChiasm	\N	t	t	t	t	OpticChiasm	20	\N	\N	N	cm3	OpticChiasmWhiteMatter
+CerebellarVermalLobulesI-V	\N	t	t	t	t	CerebellarVermalLobulesI-V	20	\N	\N	N	cm3	grey_matter_surface
+CerebellarVermalLobulesVI-VII	\N	t	t	t	t	CerebellarVermalLobulesVI-VII	20	\N	\N	N	cm3	grey_matter_surface
+CerebellarVermalLobulesVIII-X	\N	t	t	t	t	CerebellarVermalLobulesVIII-X	20	\N	\N	N	cm3	grey_matter_surface
+LeftBasalForebrain	\N	t	t	t	t	LeftBasalForebrain	20	\N	\N	N	cm3	basal_forebrain
+RightBasalForebrain	\N	t	t	t	t	RightBasalForebrain	20	\N	\N	N	cm3	basal_forebrain
+RightACgGanteriorcingulategyrus	\N	t	t	t	t	RightACgGanteriorcingulategyrus	20	\N	\N	N	cm3	limbic
+LeftACgGanteriorcingulategyrus	\N	t	t	t	t	LeftACgGanteriorcingulategyrus	20	\N	\N	N	cm3	limbic
+RightAInsanteriorinsula	\N	t	t	t	t	RightAInsanteriorinsula	20	\N	\N	N	cm3	insula
+LeftAInsanteriorinsula	\N	t	t	t	t	LeftAInsanteriorinsula	20	\N	\N	N	cm3	insula
+RightAOrGanteriororbitalgyrus	\N	t	t	t	t	RightAOrGanteriororbitalgyrus	20	\N	\N	N	cm3	frontal
+LeftAOrGanteriororbitalgyrus	\N	t	t	t	t	LeftAOrGanteriororbitalgyrus	20	\N	\N	N	cm3	frontal
+RightAnGangulargyrus	\N	t	t	t	t	RightAnGangulargyrus	20	\N	\N	N	cm3	parietal
+LeftAnGangulargyrus	\N	t	t	t	t	LeftAnGangulargyrus	20	\N	\N	N	cm3	parietal
+RightCalccalcarinecortex	\N	t	t	t	t	RightCalccalcarinecortex	20	\N	\N	N	cm3	occipital
+LeftCalccalcarinecortex	\N	t	t	t	t	LeftCalccalcarinecortex	20	\N	\N	N	cm3	occipital
+RightCOcentraloperculum	\N	t	t	t	t	RightCOcentraloperculum	20	\N	\N	N	cm3	frontal
+LeftCOcentraloperculum	\N	t	t	t	t	LeftCOcentraloperculum	20	\N	\N	N	cm3	frontal
+RightCuncuneus	\N	t	t	t	t	RightCuncuneus	20	\N	\N	N	cm3	occipital
+LeftCuncuneus	\N	t	t	t	t	LeftCuncuneus	20	\N	\N	N	cm3	occipital
+RightEntentorhinalarea	\N	t	t	t	t	RightEntentorhinalarea	20	\N	\N	N	cm3	limbic
+LeftEntentorhinalarea	\N	t	t	t	t	LeftEntentorhinalarea	20	\N	\N	N	cm3	limbic
+RightFOfrontaloperculum	\N	t	t	t	t	RightFOfrontaloperculum	20	\N	\N	N	cm3	frontal
+LeftFOfrontaloperculum	\N	t	t	t	t	LeftFOfrontaloperculum	20	\N	\N	N	cm3	frontal
+RightFRPfrontalpole	\N	t	t	t	t	RightFRPfrontalpole	20	\N	\N	N	cm3	frontal
+LeftFRPfrontalpole	\N	t	t	t	t	LeftFRPfrontalpole	20	\N	\N	N	cm3	frontal
+RightFuGfusiformgyrus	\N	t	t	t	t	RightFuGfusiformgyrus	20	\N	\N	N	cm3	temporal
+LeftFuGfusiformgyrus	\N	t	t	t	t	LeftFuGfusiformgyrus	20	\N	\N	N	cm3	temporal
+RightGRegyrusrectus	\N	t	t	t	t	RightGRegyrusrectus	20	\N	\N	N	cm3	frontal
+LeftGRegyrusrectus	\N	t	t	t	t	LeftGRegyrusrectus	20	\N	\N	N	cm3	frontal
+RightIOGinferioroccipitalgyrus	\N	t	t	t	t	RightIOGinferioroccipitalgyrus	20	\N	\N	N	cm3	occipital
+LeftIOGinferioroccipitalgyrus	\N	t	t	t	t	LeftIOGinferioroccipitalgyrus	20	\N	\N	N	cm3	occipital
+RightITGinferiortemporalgyrus	\N	t	t	t	t	RightITGinferiortemporalgyrus	20	\N	\N	N	cm3	temporal
+LeftITGinferiortemporalgyrus	\N	t	t	t	t	LeftITGinferiortemporalgyrus	20	\N	\N	N	cm3	temporal
+RightLiGlingualgyrus	\N	t	t	t	t	RightLiGlingualgyrus	20	\N	\N	N	cm3	occipital
+LeftLiGlingualgyrus	\N	t	t	t	t	LeftLiGlingualgyrus	20	\N	\N	N	cm3	occipital
+RightLOrGlateralorbitalgyrus	\N	t	t	t	t	RightLOrGlateralorbitalgyrus	20	\N	\N	N	cm3	frontal
+LeftLOrGlateralorbitalgyrus	\N	t	t	t	t	LeftLOrGlateralorbitalgyrus	20	\N	\N	N	cm3	frontal
+RightMCgGmiddlecingulategyrus	\N	t	t	t	t	RightMCgGmiddlecingulategyrus	20	\N	\N	N	cm3	limbic
+LeftMCgGmiddlecingulategyrus	\N	t	t	t	t	LeftMCgGmiddlecingulategyrus	20	\N	\N	N	cm3	limbic
+RightMFCmedialfrontalcortex	\N	t	t	t	t	RightMFCmedialfrontalcortex	20	\N	\N	N	cm3	frontal
+LeftMFCmedialfrontalcortex	\N	t	t	t	t	LeftMFCmedialfrontalcortex	20	\N	\N	N	cm3	frontal
+RightMFGmiddlefrontalgyrus	\N	t	t	t	t	RightMFGmiddlefrontalgyrus	20	\N	\N	N	cm3	frontal
+LeftMFGmiddlefrontalgyrus	\N	t	t	t	t	LeftMFGmiddlefrontalgyrus	20	\N	\N	N	cm3	frontal
+RightMOGmiddleoccipitalgyrus	\N	t	t	t	t	RightMOGmiddleoccipitalgyrus	20	\N	\N	N	cm3	occipital
+LeftMOGmiddleoccipitalgyrus	\N	t	t	t	t	LeftMOGmiddleoccipitalgyrus	20	\N	\N	N	cm3	occipital
+RightMOrGmedialorbitalgyrus	\N	t	t	t	t	RightMOrGmedialorbitalgyrus	20	\N	\N	N	cm3	frontal
+LeftMOrGmedialorbitalgyrus	\N	t	t	t	t	LeftMOrGmedialorbitalgyrus	20	\N	\N	N	cm3	frontal
+RightMPoGpostcentralgyrusmedialsegment	\N	t	t	t	t	RightMPoGpostcentralgyrusmedialsegment	20	\N	\N	N	cm3	parietal
+LeftMPoGpostcentralgyrusmedialsegment	\N	t	t	t	t	LeftMPoGpostcentralgyrusmedialsegment	20	\N	\N	N	cm3	parietal
+RightMPrGprecentralgyrusmedialsegment	\N	t	t	t	t	RightMPrGprecentralgyrusmedialsegment	20	\N	\N	N	cm3	frontal
+LeftMPrGprecentralgyrusmedialsegment	\N	t	t	t	t	LeftMPrGprecentralgyrusmedialsegment	20	\N	\N	N	cm3	frontal
+RightMSFGsuperiorfrontalgyrusmedialsegment	\N	t	t	t	t	RightMSFGsuperiorfrontalgyrusmedialsegment	20	\N	\N	N	cm3	frontal
+LeftMSFGsuperiorfrontalgyrusmedialsegment	\N	t	t	t	t	LeftMSFGsuperiorfrontalgyrusmedialsegment	20	\N	\N	N	cm3	frontal
+RightMTGmiddletemporalgyrus	\N	t	t	t	t	RightMTGmiddletemporalgyrus	20	\N	\N	N	cm3	temporal
+LeftMTGmiddletemporalgyrus	\N	t	t	t	t	LeftMTGmiddletemporalgyrus	20	\N	\N	N	cm3	temporal
+RightOCPoccipitalpole	\N	t	t	t	t	RightOCPoccipitalpole	20	\N	\N	N	cm3	occipital
+LeftOCPoccipitalpole	\N	t	t	t	t	LeftOCPoccipitalpole	20	\N	\N	N	cm3	occipital
+RightOFuGoccipitalfusiformgyrus	\N	t	t	t	t	RightOFuGoccipitalfusiformgyrus	20	\N	\N	N	cm3	occipital
+LeftOFuGoccipitalfusiformgyrus	\N	t	t	t	t	LeftOFuGoccipitalfusiformgyrus	20	\N	\N	N	cm3	occipital
+RightOpIFGopercularpartoftheinferiorfrontalgyrus	\N	t	t	t	t	RightOpIFGopercularpartoftheinferiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+LeftOpIFGopercularpartoftheinferiorfrontalgyrus	\N	t	t	t	t	LeftOpIFGopercularpartoftheinferiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+RightOrIFGorbitalpartoftheinferiorfrontalgyrus	\N	t	t	t	t	RightOrIFGorbitalpartoftheinferiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+LeftOrIFGorbitalpartoftheinferiorfrontalgyrus	\N	t	t	t	t	LeftOrIFGorbitalpartoftheinferiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+RightPCgGposteriorcingulategyrus	\N	t	t	t	t	RightPCgGposteriorcingulategyrus	20	\N	\N	N	cm3	limbic
+LeftPCgGposteriorcingulategyrus	\N	t	t	t	t	LeftPCgGposteriorcingulategyrus	20	\N	\N	N	cm3	limbic
+RightPCuprecuneus	\N	t	t	t	t	RightPCuprecuneus	20	\N	\N	N	cm3	parietal
+LeftPCuprecuneus	\N	t	t	t	t	LeftPCuprecuneus	20	\N	\N	N	cm3	parietal
+RightPHGparahippocampalgyrus	\N	t	t	t	t	RightPHGparahippocampalgyrus	20	\N	\N	N	cm3	limbic
+LeftPHGparahippocampalgyrus	\N	t	t	t	t	LeftPHGparahippocampalgyrus	20	\N	\N	N	cm3	limbic
+RightPInsposteriorinsula	\N	t	t	t	t	RightPInsposteriorinsula	20	\N	\N	N	cm3	insula
+LeftPInsposteriorinsula	\N	t	t	t	t	LeftPInsposteriorinsula	20	\N	\N	N	cm3	insula
+RightPOparietaloperculum	\N	t	t	t	t	RightPOparietaloperculum	20	\N	\N	N	cm3	frontal
+LeftPOparietaloperculum	\N	t	t	t	t	LeftPOparietaloperculum	20	\N	\N	N	cm3	frontal
+RightPoGpostcentralgyrus	\N	t	t	t	t	RightPoGpostcentralgyrus	20	\N	\N	N	cm3	parietal
+LeftPoGpostcentralgyrus	\N	t	t	t	t	LeftPoGpostcentralgyrus	20	\N	\N	N	cm3	parietal
+RightPOrGposteriororbitalgyrus	\N	t	t	t	t	RightPOrGposteriororbitalgyrus	20	\N	\N	N	cm3	frontal
+LeftPOrGposteriororbitalgyrus	\N	t	t	t	t	LeftPOrGposteriororbitalgyrus	20	\N	\N	N	cm3	frontal
+RightPPplanumpolare	\N	t	t	t	t	RightPPplanumpolare	20	\N	\N	N	cm3	temporal
+LeftPPplanumpolare	\N	t	t	t	t	LeftPPplanumpolare	20	\N	\N	N	cm3	temporal
+RightPrGprecentralgyrus	\N	t	t	t	t	RightPrGprecentralgyrus	20	\N	\N	N	cm3	frontal
+LeftPrGprecentralgyrus	\N	t	t	t	t	LeftPrGprecentralgyrus	20	\N	\N	N	cm3	frontal
+RightPTplanumtemporale	\N	t	t	t	t	RightPTplanumtemporale	20	\N	\N	N	cm3	temporal
+LeftPTplanumtemporale	\N	t	t	t	t	LeftPTplanumtemporale	20	\N	\N	N	cm3	temporal
+RightSCAsubcallosalarea	\N	t	t	t	t	RightSCAsubcallosalarea	20	\N	\N	N	cm3	frontal
+LeftSCAsubcallosalarea	\N	t	t	t	t	LeftSCAsubcallosalarea	20	\N	\N	N	cm3	frontal
+RightSFGsuperiorfrontalgyrus	\N	t	t	t	t	RightSFGsuperiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+LeftSFGsuperiorfrontalgyrus	\N	t	t	t	t	LeftSFGsuperiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+RightSMCsupplementarymotorcortex	\N	t	t	t	t	RightSMCsupplementarymotorcortex	20	\N	\N	N	cm3	frontal
+LeftSMCsupplementarymotorcortex	\N	t	t	t	t	LeftSMCsupplementarymotorcortex	20	\N	\N	N	cm3	frontal
+RightSMGsupramarginalgyrus	\N	t	t	t	t	RightSMGsupramarginalgyrus	20	\N	\N	N	cm3	parietal
+LeftSMGsupramarginalgyrus	\N	t	t	t	t	LeftSMGsupramarginalgyrus	20	\N	\N	N	cm3	parietal
+RightSOGsuperioroccipitalgyrus	\N	t	t	t	t	RightSOGsuperioroccipitalgyrus	20	\N	\N	N	cm3	occipital
+LeftSOGsuperioroccipitalgyrus	\N	t	t	t	t	LeftSOGsuperioroccipitalgyrus	20	\N	\N	N	cm3	occipital
+RightSPLsuperiorparietallobule	\N	t	t	t	t	RightSPLsuperiorparietallobule	20	\N	\N	N	cm3	parietal
+LeftSPLsuperiorparietallobule	\N	t	t	t	t	LeftSPLsuperiorparietallobule	20	\N	\N	N	cm3	parietal
+RightSTGsuperiortemporalgyrus	\N	t	t	t	t	RightSTGsuperiortemporalgyrus	20	\N	\N	N	cm3	temporal
+LeftSTGsuperiortemporalgyrus	\N	t	t	t	t	LeftSTGsuperiortemporalgyrus	20	\N	\N	N	cm3	temporal
+RightTMPtemporalpole	\N	t	t	t	t	RightTMPtemporalpole	20	\N	\N	N	cm3	temporal
+LeftTMPtemporalpole	\N	t	t	t	t	LeftTMPtemporalpole	20	\N	\N	N	cm3	temporal
+RightTrIFGtriangularpartoftheinferiorfrontalgyrus	\N	t	t	t	t	RightTrIFGtriangularpartoftheinferiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+LeftTrIFGtriangularpartoftheinferiorfrontalgyrus	\N	t	t	t	t	LeftTrIFGtriangularpartoftheinferiorfrontalgyrus	20	\N	\N	N	cm3	frontal
+RightTTGtransversetemporalgyrus	\N	t	t	t	t	RightTTGtransversetemporalgyrus	20	\N	\N	N	cm3	temporal
+LeftTTGtransversetemporalgyrus	\N	t	t	t	t	LeftTTGtransversetemporalgyrus	20	\N	\N	N	cm3	temporal
+\.
diff --git a/src/main/resources/db/migration/V1_4__AddApps.sql b/src/main/resources/db/migration/V1_4__AddApps.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0807b554280ad7af2d94b3ffd87efe8a01408c7c
--- /dev/null
+++ b/src/main/resources/db/migration/V1_4__AddApps.sql
@@ -0,0 +1,13 @@
+--
+-- Add app
+--
+
+COPY app (id, author, category, description, email, image, link, name, ratingcount, totalrating) FROM stdin;
+1	Linda Dib and Mirco Nasuti	Data Mining Tools	Choose a brain region, a gene and a time-frame to visualize gene expression and find correlations betweeen them.	mirco.nasuti@gmail.com	https://mip.humanbrainproject.eu/images/apps/logo-geneexpression.png	https://mip.humanbrainproject.eu/genexpression	Gene Expression	0	0
+2	Unknown	Data Mining Tools	Navigate in a 3D world of variables.	\N	https://mip.humanbrainproject.eu/images/apps/logo-graphviewer.png	https://mip.humanbrainproject.eu/scripts/external/ViewerProject/GraphViewer.html	Biological Rules	0	0
+3	Unknown	Data Mining Tools	Categorize, cluster and classify data.	\N	https://mip.humanbrainproject.eu/images/apps/logo-3c.png	https://mip.humanbrainproject.eu/scripts/external/3c/index.html	3C	0	0
+4	Unknown	Data Exploration Tools	Visualize medical data using bar graphs.	\N	https://mip.humanbrainproject.eu/images/apps/logo-bargraph.png	https://mip.humanbrainproject.eu/graphdata/bargraph.html	Bargraph	0	0
+5	Unknown	Data Exploration Tools	Visualize medical data using sunburst graphs.	\N	https://mip.humanbrainproject.eu/images/apps/logo-sunburst.png	https://mip.humanbrainproject.eu/graphdata/sunburst.html	Sunburst	0	0
+6	Unknown	Brain Data Viewers	Visualize a 3D brain.	\N	https://mip.humanbrainproject.eu/images/apps/logo-3d-brain.png	http://hbps1.chuv.ch/webgraph/#/3d-brain	3D Brain	0	0
+7	Unknown	Brain Data Viewers	View 2D atlases from NIFTI files.	\N	https://mip.humanbrainproject.eu/images/apps/logo-2d-atlas.png	https://mip.humanbrainproject.eu/scripts/external/Papaya/standard-with-atlas/index.html	2D Atlas	0	0
+\.
diff --git a/src/test/db b/src/test/db
index e8f2838a208be2486bee78c174c9c02a7812848d..a1702c167a9d6422024f830756bc12226240f1ec 160000
--- a/src/test/db
+++ b/src/test/db
@@ -1 +1 @@
-Subproject commit e8f2838a208be2486bee78c174c9c02a7812848d
+Subproject commit a1702c167a9d6422024f830756bc12226240f1ec