diff --git a/src/Plugin/Field/FieldType/JsonItem.php b/src/Plugin/Field/FieldType/JsonItem.php
index eaebb36..a8c9b49 100644
--- a/src/Plugin/Field/FieldType/JsonItem.php
+++ b/src/Plugin/Field/FieldType/JsonItem.php
@@ -8,7 +8,6 @@
 namespace Drupal\jsonb\Plugin\Field\FieldType;
 
 use Drupal\Core\Field\FieldItemBase;
-use Drupal\Core\Field\FieldDefinitionInterface;
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
 use Drupal\Core\TypedData\DataDefinition;
 
@@ -25,6 +24,7 @@ use Drupal\Core\TypedData\DataDefinition;
  * )
  */
 class JsonItem extends FieldItemBase {
+
   /**
    * {@inheritdoc}
    */
@@ -33,6 +33,8 @@ class JsonItem extends FieldItemBase {
       'columns' => array(
         'value' => array(
           'type' => 'json',
+          'pgsql_type' => 'json',
+          'mysql_type' => 'json',
           'not null' => FALSE,
         ),
       ),
@@ -56,4 +58,5 @@ class JsonItem extends FieldItemBase {
 
     return $properties;
   }
+
 }
diff --git a/src/Plugin/Field/FieldType/JsonbItem.php b/src/Plugin/Field/FieldType/JsonbItem.php
index 2e252c7..5261eb4 100644
--- a/src/Plugin/Field/FieldType/JsonbItem.php
+++ b/src/Plugin/Field/FieldType/JsonbItem.php
@@ -7,8 +7,6 @@
 
 namespace Drupal\jsonb\Plugin\Field\FieldType;
 
-use Drupal\Core\Field\FieldItemBase;
-use Drupal\Core\Field\FieldDefinitionInterface;
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
 use Drupal\Core\TypedData\DataDefinition;
 
@@ -24,7 +22,8 @@ use Drupal\Core\TypedData\DataDefinition;
  *   default_formatter = "jsonb_default"
  * )
  */
-class JsonbItem extends FieldItemBase {
+class JsonbItem extends JsonItem {
+
   /**
    * {@inheritdoc}
    */
@@ -32,7 +31,9 @@ class JsonbItem extends FieldItemBase {
     return array(
       'columns' => array(
         'value' => array(
-          'type' => 'jsonb',
+          'type' => 'text',
+          'pgsql_type' => 'jsonb',
+          'mysql_type' => 'json',
           'not null' => FALSE,
         ),
       ),
@@ -42,18 +43,11 @@ class JsonbItem extends FieldItemBase {
   /**
    * {@inheritdoc}
    */
-  public function isEmpty() {
-    $value = $this->get('value')->getValue();
-    return $value === NULL || $value === '';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
   public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
     $properties['value'] = DataDefinition::create('string')
       ->setLabel(t('JSONB value'));
 
     return $properties;
   }
+
 }
