Query
CREATE TABLE "core_servicemessagetemplate" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"message_type" varchar(20) NOT NULL,
"subject" varchar(200) NOT NULL,
"message" text NOT NULL,
"activation_url" varchar(200) NULL,
"created_at" datetime NOT NULL,
"updated_at" datetime NOT NULL,
"service_instance_id" bigint NOT NULL REFERENCES "core_services" ("id") DEFERRABLE INITIALLY DEFERRED
)