1. Juan Carlos Picado Herrera
  2. encuestame

Commits

dianmora  committed d3e2027

Updated hsqldb table script ENCUESTAME-502

  • Participants
  • Parent commits 7265aa7
  • Branches master

Comments (0)

Files changed (1)

File encuestame-business/src/main/resources/org/encuestame/business/sqlscripts/hsqldb/install/tables.sql

View file
  • Ignore whitespace
 create table userAccount_permission (sec_id_secondary bigint not null, sec_id_permission bigint not null, primary key (sec_id_permission, sec_id_secondary))
 create table userAccount_project (sec_id_secondary bigint not null, cat_id_project bigint not null, primary key (cat_id_project, sec_id_secondary))
 create table survey_temporal_result (IdTempResult bigint generated by default as identity (start with 1), txtResponse varchar(255), hash varchar(255) not null, answer_q_answer_id bigint, question_qid bigint, survey_sid bigint, primary key (IdTempResult), unique (hash), unique (IdTempResult))
-create table question_preferences (preferenceId bigint generated by default as identity (start with 1), preference varchar(255), value varchar(255), question_qid bigint, primary key (preferenceId), unique (preferenceId))
+create table question_preferences (preferenceId bigint generated by default as identity (start with 1), preference varchar(255), preference_value varchar(255), question_qid bigint, primary key (preferenceId), unique (preferenceId))