Skip to content
Snippets Groups Projects
Select Git revision
  • ae6600e8a762d34f0c323e0825ccc3b688b94b31
  • master default protected
  • replication_test
  • dev protected
  • release-1.10 protected
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • 518-spark-doesn-t-map-the-headers-correct
  • 485-fixity-checks
  • 530-various-schema-problems-with-subsets
  • release-1.7 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
  • v1.9.3 protected
  • v1.9.2 protected
  • v1.9.2-rc0 protected
41 results

CreateOntology.vue

Blame
  • query.mapper.js 1.69 KiB
    class QueryMapper {
      mySql8DataTypes () {
        return [
          { value: 'bool', text: 'BOOL' },
          { value: 'varchar', text: 'VARCHAR(size)', defaultSize: 255 },
          { value: 'text', text: 'TEXT' },
          { value: 'int', text: 'INT(size)', defaultSize: 255 },
          { value: 'char', text: 'CHAR(size)', defaultSize: 1 },
          { value: 'binary', text: 'BINARY(size)', defaultSize: 1 },
          { value: 'varbinary', text: 'VARBINARY(size)', defaultSize: 1 },
          { value: 'tinyblob', text: 'TINYBLOB' },
          { value: 'tinytext', text: 'TINYTEXT' },
          { value: 'blob', text: 'BLOB' },
          { value: 'mediumtext', text: 'MEDIUMTEXT' },
          { value: 'mediumblob', text: 'MEDIUMBLOB' },
          { value: 'longtext', text: 'LONGTEXT' },
          { value: 'longblob', text: 'LONGBLOB' },
          { value: 'enum', text: 'ENUM(val1,val2,...)' },
          { value: 'set', text: 'SET(val1,val2,...)' },
          { value: 'bit', text: 'BIT(size)', defaultSize: 1 },
          { value: 'tinyint', text: 'TINYINT(size)', defaultSize: 10 },
          { value: 'smallint', text: 'SMALLINT(size)', defaultSize: 10 },
          { value: 'mediumint', text: 'MEDIUMINT(size)', defaultSize: 10 },
          { value: 'bigint', text: 'BIGINT(size)', defaultSize: 255 },
          { value: 'float', text: 'FLOAT(p)', defaultSize: 24 },
          { value: 'double', text: 'DOUBLE(size, d)', defaultSize: 25, defaultD: 4 },
          { value: 'decimal', text: 'DECIMAL(size, d)', defaultSize: 10, defaultD: 4 },
          { value: 'date', text: 'DATE' },
          { value: 'datetime', text: 'DATETIME(fsp)' },
          { value: 'timestamp', text: 'TIMESTAMP(fsp)' },
          { value: 'time', text: 'TIME(fsp)' },
          { value: 'year', text: 'YEAR' }
        ]
      }
    }
    
    export default new QueryMapper()