Github user avikganguly01 commented on a diff in the pull request:
https://github.com/apache/fineract/pull/410#discussion_r143359256
--- Diff:
fineract-provider/src/main/resources/sql/migrations/core_db/V336__sms_campaign_notification.sql
---
@@ -0,0 +1,41 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied. See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+--
+
+CREATE TABLE `client_device_registration` (
+ `id` BIGINT(20) NOT NULL AUTO_INCREMENT,
+ `client_id` BIGINT(20) NOT NULL,
+ `updatedon_date` DATETIME NOT NULL,
+ `registration_id` VARCHAR(255) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE INDEX `registration_key_client_device_registration`
(`registration_id`),
+ UNIQUE INDEX `client_key_client_device_registration` (`client_id`),
+ INDEX `FK1_client_device_registration_m_client` (`client_id`),
+ CONSTRAINT `FK1_client_device_registration_m_client` FOREIGN KEY
(`client_id`) REFERENCES `m_client` (`id`)
+)
+COLLATE='utf8_general_ci'
+ENGINE=InnoDB;
+
--- End diff --
Remove COLLAGE and Engine hard codings from migration script.
---