This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Usage for extensions. | |
Initialize Moshi in your Converter class | |
*/ | |
private val moshi: Moshi = Moshi.Builder() | |
.add(KotlinJsonAdapterFactory()) | |
.build() | |
/** | |
* [Moshi] extension to transform a [List] to Json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `carriers` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`type` varchar(13) CHARACTER SET utf8 DEFAULT NULL, | |
`countryName` varchar(56) CHARACTER SET utf8 DEFAULT NULL, | |
`countryCode` varchar(14) CHARACTER SET utf8 DEFAULT NULL, | |
`mcc` int(11) DEFAULT NULL, | |
`mnc` varchar(9) CHARACTER SET utf8 DEFAULT NULL, | |
`brand` varchar(48) CHARACTER SET utf8 DEFAULT NULL, | |
`operator` varchar(75) CHARACTER SET utf8 DEFAULT NULL, | |
`status` varchar(21) CHARACTER SET utf8 DEFAULT NULL, |