Rework the loop state
[clamp.git] / extra / sql / bulkload / create-tables.sql
index b356063..121c5e6 100644 (file)
@@ -7,9 +7,10 @@
 
     create table loop_logs (
        id bigint not null,
+        log_component varchar(255) not null,
         log_instant datetime(6) not null,
         log_type varchar(255) not null,
-        message varchar(255) not null,
+        message MEDIUMTEXT not null,
         loop_id varchar(255) not null,
         primary key (id)
     ) engine=InnoDB;
@@ -36,6 +37,7 @@
     create table micro_service_policies (
        name varchar(255) not null,
         json_representation json not null,
+        model_type varchar(255) not null,
         policy_tosca MEDIUMTEXT not null,
         properties json,
         shared bit not null,