mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Organisational import
This commit is contained in:
670
.idea/dataSources.ids
generated
670
.idea/dataSources.ids
generated
@@ -4,6 +4,16 @@
|
||||
<database-info product="SQLite" version="3.7.6.3" jdbc-version="2.1" driver-name="SQLiteJDBC" driver-version="native"/>
|
||||
<case-sensitivity plain-identifiers="mixed" quoted-identifiers="mixed"/>
|
||||
<schema name="" catalog=""/>
|
||||
<table name="RIGS_organisation" schema="" catalog="" type="TABLE">
|
||||
<column name="id" sqlType="INTEGER" precision="2000000000" scale="10" nullable="false" jdbcType="4"/>
|
||||
<column name="name" sqlType="VARCHAR(50)" precision="2000000000" scale="10" nullable="false" jdbcType="12"/>
|
||||
<column name="phone" sqlType="VARCHAR(15)" precision="2000000000" scale="10" nullable="true" jdbcType="12"/>
|
||||
<column name="email" sqlType="VARCHAR(75)" precision="2000000000" scale="10" nullable="true" jdbcType="12"/>
|
||||
<column name="address" sqlType="TEXT" precision="2000000000" scale="10" nullable="true" jdbcType="12"/>
|
||||
<column name="notes" sqlType="TEXT" precision="2000000000" scale="10" nullable="true" jdbcType="12"/>
|
||||
<column name="unionAccount" sqlType="BOOL" precision="2000000000" scale="10" nullable="false" jdbcType="4"/>
|
||||
<primary-key columns="id"/>
|
||||
</table>
|
||||
<table name="RIGS_person" schema="" catalog="" type="TABLE">
|
||||
<column name="id" sqlType="INTEGER" precision="2000000000" scale="10" nullable="false" jdbcType="4"/>
|
||||
<column name="name" sqlType="VARCHAR(50)" precision="2000000000" scale="10" nullable="false" jdbcType="12"/>
|
||||
@@ -160,4 +170,664 @@
|
||||
<column name="seq" sqlType="" precision="2000000000" scale="10" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="MySQL - tec_rigs@alfie.codedinternet.com" uuid="828bc60d-f5c3-4e1f-9566-2614d7328388">
|
||||
<database-info product="MySQL" version="5.1.73-cll" jdbc-version="4.0" driver-name="MySQL Connector Java" driver-version="mysql-connector-java-5.1.31 ( Revision: alexander.soklakov@oracle.com-20140520065950-groqzzbvxprqdmnz )">
|
||||
<extra-name-characters>#@</extra-name-characters>
|
||||
<identifier-quote-string>`</identifier-quote-string>
|
||||
</database-info>
|
||||
<case-sensitivity plain-identifiers="exact" quoted-identifiers="exact"/>
|
||||
<schema name="" catalog="information_schema"/>
|
||||
<schema name="" catalog="tec_rigs"/>
|
||||
<table name="CHARACTER_SETS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="CHARACTER_SET_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFAULT_COLLATE_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DESCRIPTION" sqlType="VARCHAR" precision="60" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="MAXLEN" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
</table>
|
||||
<table name="CLIENT_STATISTICS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="CLIENT" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TOTAL_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CONCURRENT_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CONNECTED_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BUSY_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CPU_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BYTES_RECEIVED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BYTES_SENT" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BINLOG_BYTES_WRITTEN" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_FETCHED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_UPDATED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="TABLE_ROWS_READ" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="SELECT_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="UPDATE_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="OTHER_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="COMMIT_TRANSACTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROLLBACK_TRANSACTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="DENIED_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="LOST_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ACCESS_DENIED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="EMPTY_QUERIES" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
</table>
|
||||
<table name="COLLATIONS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="COLLATION_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CHARACTER_SET_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ID" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="IS_DEFAULT" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_COMPILED" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SORTLEN" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
</table>
|
||||
<table name="COLLATION_CHARACTER_SET_APPLICABILITY" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="COLLATION_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CHARACTER_SET_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="COLUMNS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLUMN_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ORDINAL_POSITION" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="COLUMN_DEFAULT" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="IS_NULLABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DATA_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CHARACTER_MAXIMUM_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="CHARACTER_OCTET_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="NUMERIC_PRECISION" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="NUMERIC_SCALE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="CHARACTER_SET_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="COLLATION_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="COLUMN_TYPE" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="false" jdbcType="-1"/>
|
||||
<column name="COLUMN_KEY" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EXTRA" sqlType="VARCHAR" precision="27" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PRIVILEGES" sqlType="VARCHAR" precision="80" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLUMN_COMMENT" sqlType="VARCHAR" precision="255" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="COLUMN_PRIVILEGES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="GRANTEE" sqlType="VARCHAR" precision="81" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLUMN_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PRIVILEGE_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_GRANTABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="ENGINES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="ENGINE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SUPPORT" sqlType="VARCHAR" precision="8" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COMMENT" sqlType="VARCHAR" precision="80" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TRANSACTIONS" sqlType="VARCHAR" precision="3" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="XA" sqlType="VARCHAR" precision="3" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SAVEPOINTS" sqlType="VARCHAR" precision="3" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="EVENTS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="EVENT_CATALOG" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="EVENT_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EVENT_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFINER" sqlType="VARCHAR" precision="77" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TIME_ZONE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EVENT_BODY" sqlType="VARCHAR" precision="8" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EVENT_DEFINITION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="false" jdbcType="-1"/>
|
||||
<column name="EVENT_TYPE" sqlType="VARCHAR" precision="9" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EXECUTE_AT" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="INTERVAL_VALUE" sqlType="VARCHAR" precision="256" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="INTERVAL_FIELD" sqlType="VARCHAR" precision="18" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SQL_MODE" sqlType="VARCHAR" precision="8192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="STARTS" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="ENDS" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="STATUS" sqlType="VARCHAR" precision="18" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ON_COMPLETION" sqlType="VARCHAR" precision="12" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CREATED" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="LAST_ALTERED" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="LAST_EXECUTED" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="EVENT_COMMENT" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ORIGINATOR" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="CHARACTER_SET_CLIENT" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLLATION_CONNECTION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DATABASE_COLLATION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="FILES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="FILE_ID" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="FILE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="FILE_TYPE" sqlType="VARCHAR" precision="20" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLESPACE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="LOGFILE_GROUP_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="LOGFILE_GROUP_NUMBER" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="ENGINE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="FULLTEXT_KEYS" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="DELETED_ROWS" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="UPDATE_COUNT" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="FREE_EXTENTS" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="TOTAL_EXTENTS" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="EXTENT_SIZE" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="INITIAL_SIZE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="MAXIMUM_SIZE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="AUTOEXTEND_SIZE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="CREATION_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="LAST_UPDATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="LAST_ACCESS_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="RECOVER_TIME" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="TRANSACTION_COUNTER" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="VERSION" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="ROW_FORMAT" sqlType="VARCHAR" precision="10" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_ROWS" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="AVG_ROW_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="DATA_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="MAX_DATA_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="INDEX_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="DATA_FREE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="CREATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="UPDATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="CHECK_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="CHECKSUM" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="STATUS" sqlType="VARCHAR" precision="20" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EXTRA" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="GLOBAL_STATUS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="VARIABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="VARIABLE_VALUE" sqlType="VARCHAR" precision="1024" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="GLOBAL_VARIABLES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="VARIABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="VARIABLE_VALUE" sqlType="VARCHAR" precision="1024" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="INDEX_STATISTICS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="INDEX_NAME" sqlType="VARCHAR" precision="192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROWS_READ" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
</table>
|
||||
<table name="KEY_COLUMN_USAGE" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="CONSTRAINT_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="CONSTRAINT_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CONSTRAINT_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLUMN_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ORDINAL_POSITION" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="POSITION_IN_UNIQUE_CONSTRAINT" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="REFERENCED_TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="REFERENCED_TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="REFERENCED_COLUMN_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="PARTITIONS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PARTITION_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SUBPARTITION_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PARTITION_ORDINAL_POSITION" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="SUBPARTITION_ORDINAL_POSITION" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="PARTITION_METHOD" sqlType="VARCHAR" precision="12" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SUBPARTITION_METHOD" sqlType="VARCHAR" precision="12" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PARTITION_EXPRESSION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="SUBPARTITION_EXPRESSION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="PARTITION_DESCRIPTION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="TABLE_ROWS" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="AVG_ROW_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="DATA_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="MAX_DATA_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="INDEX_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="DATA_FREE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="CREATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="UPDATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="CHECK_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="CHECKSUM" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="PARTITION_COMMENT" sqlType="VARCHAR" precision="80" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="NODEGROUP" sqlType="VARCHAR" precision="12" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLESPACE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="PLUGINS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="PLUGIN_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PLUGIN_VERSION" sqlType="VARCHAR" precision="20" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PLUGIN_STATUS" sqlType="VARCHAR" precision="10" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PLUGIN_TYPE" sqlType="VARCHAR" precision="80" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PLUGIN_TYPE_VERSION" sqlType="VARCHAR" precision="20" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PLUGIN_LIBRARY" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PLUGIN_LIBRARY_VERSION" sqlType="VARCHAR" precision="20" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PLUGIN_AUTHOR" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PLUGIN_DESCRIPTION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="PLUGIN_LICENSE" sqlType="VARCHAR" precision="80" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="PROCESSLIST" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="ID" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="USER" sqlType="VARCHAR" precision="16" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="HOST" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DB" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="COMMAND" sqlType="VARCHAR" precision="16" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="STATE" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="INFO" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
</table>
|
||||
<table name="PROFILING" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="QUERY_ID" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="SEQ" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="STATE" sqlType="VARCHAR" precision="30" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DURATION" sqlType="DECIMAL" precision="9" scale="6" nullable="false" jdbcType="3" def="MC4wMDAwMDA="/>
|
||||
<column name="CPU_USER" sqlType="DECIMAL" precision="9" scale="6" nullable="true" jdbcType="3"/>
|
||||
<column name="CPU_SYSTEM" sqlType="DECIMAL" precision="9" scale="6" nullable="true" jdbcType="3"/>
|
||||
<column name="CONTEXT_VOLUNTARY" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="CONTEXT_INVOLUNTARY" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="BLOCK_OPS_IN" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="BLOCK_OPS_OUT" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="MESSAGES_SENT" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="MESSAGES_RECEIVED" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="PAGE_FAULTS_MAJOR" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="PAGE_FAULTS_MINOR" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="SWAPS" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="SOURCE_FUNCTION" sqlType="VARCHAR" precision="30" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SOURCE_FILE" sqlType="VARCHAR" precision="20" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SOURCE_LINE" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
</table>
|
||||
<table name="REFERENTIAL_CONSTRAINTS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="CONSTRAINT_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="CONSTRAINT_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CONSTRAINT_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="UNIQUE_CONSTRAINT_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="UNIQUE_CONSTRAINT_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="UNIQUE_CONSTRAINT_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="MATCH_OPTION" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="UPDATE_RULE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DELETE_RULE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="REFERENCED_TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="ROUTINES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="SPECIFIC_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROUTINE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="ROUTINE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROUTINE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROUTINE_TYPE" sqlType="VARCHAR" precision="9" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DTD_IDENTIFIER" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="ROUTINE_BODY" sqlType="VARCHAR" precision="8" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROUTINE_DEFINITION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="EXTERNAL_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="EXTERNAL_LANGUAGE" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PARAMETER_STYLE" sqlType="VARCHAR" precision="8" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_DETERMINISTIC" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SQL_DATA_ACCESS" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SQL_PATH" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SECURITY_TYPE" sqlType="VARCHAR" precision="7" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CREATED" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="LAST_ALTERED" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="SQL_MODE" sqlType="VARCHAR" precision="8192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROUTINE_COMMENT" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFINER" sqlType="VARCHAR" precision="77" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CHARACTER_SET_CLIENT" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLLATION_CONNECTION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DATABASE_COLLATION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="SCHEMATA" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="CATALOG_NAME" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="SCHEMA_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFAULT_CHARACTER_SET_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFAULT_COLLATION_NAME" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SQL_PATH" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="SCHEMA_PRIVILEGES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="GRANTEE" sqlType="VARCHAR" precision="81" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PRIVILEGE_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_GRANTABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="SESSION_STATUS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="VARIABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="VARIABLE_VALUE" sqlType="VARCHAR" precision="1024" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="SESSION_VARIABLES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="VARIABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="VARIABLE_VALUE" sqlType="VARCHAR" precision="1024" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="STATISTICS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="NON_UNIQUE" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="INDEX_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="INDEX_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SEQ_IN_INDEX" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="COLUMN_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLLATION" sqlType="VARCHAR" precision="1" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="CARDINALITY" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="SUB_PART" sqlType="BIGINT" precision="19" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="PACKED" sqlType="VARCHAR" precision="10" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="NULLABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="INDEX_TYPE" sqlType="VARCHAR" precision="16" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COMMENT" sqlType="VARCHAR" precision="16" scale="0" nullable="true" jdbcType="12"/>
|
||||
</table>
|
||||
<table name="TABLES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ENGINE" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="VERSION" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="ROW_FORMAT" sqlType="VARCHAR" precision="10" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_ROWS" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="AVG_ROW_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="DATA_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="MAX_DATA_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="INDEX_LENGTH" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="DATA_FREE" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="AUTO_INCREMENT" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="CREATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="UPDATE_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="CHECK_TIME" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="TABLE_COLLATION" sqlType="VARCHAR" precision="32" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="CHECKSUM" sqlType="BIGINT UNSIGNED" precision="20" scale="0" nullable="true" jdbcType="-5"/>
|
||||
<column name="CREATE_OPTIONS" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_COMMENT" sqlType="VARCHAR" precision="80" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="TABLE_CONSTRAINTS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="CONSTRAINT_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="CONSTRAINT_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CONSTRAINT_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CONSTRAINT_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="TABLE_PRIVILEGES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="GRANTEE" sqlType="VARCHAR" precision="81" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="PRIVILEGE_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_GRANTABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="TABLE_STATISTICS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ROWS_READ" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_CHANGED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_CHANGED_X_INDEXES" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
</table>
|
||||
<table name="THREAD_STATISTICS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="THREAD_ID" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="TOTAL_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CONCURRENT_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CONNECTED_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BUSY_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CPU_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BYTES_RECEIVED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BYTES_SENT" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BINLOG_BYTES_WRITTEN" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_FETCHED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_UPDATED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="TABLE_ROWS_READ" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="SELECT_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="UPDATE_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="OTHER_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="COMMIT_TRANSACTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROLLBACK_TRANSACTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="DENIED_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="LOST_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ACCESS_DENIED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="EMPTY_QUERIES" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
</table>
|
||||
<table name="TRIGGERS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TRIGGER_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TRIGGER_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TRIGGER_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EVENT_MANIPULATION" sqlType="VARCHAR" precision="6" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EVENT_OBJECT_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="EVENT_OBJECT_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="EVENT_OBJECT_TABLE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ACTION_ORDER" sqlType="BIGINT" precision="19" scale="0" nullable="false" jdbcType="-5" def="MA=="/>
|
||||
<column name="ACTION_CONDITION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="ACTION_STATEMENT" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="false" jdbcType="-1"/>
|
||||
<column name="ACTION_ORIENTATION" sqlType="VARCHAR" precision="9" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ACTION_TIMING" sqlType="VARCHAR" precision="6" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ACTION_REFERENCE_OLD_TABLE" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="ACTION_REFERENCE_NEW_TABLE" sqlType="VARCHAR" precision="64" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="ACTION_REFERENCE_OLD_ROW" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="ACTION_REFERENCE_NEW_ROW" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CREATED" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="SQL_MODE" sqlType="VARCHAR" precision="8192" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFINER" sqlType="VARCHAR" precision="77" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CHARACTER_SET_CLIENT" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLLATION_CONNECTION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DATABASE_COLLATION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="USER_PRIVILEGES" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="GRANTEE" sqlType="VARCHAR" precision="81" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="PRIVILEGE_TYPE" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_GRANTABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="USER_STATISTICS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="USER" sqlType="VARCHAR" precision="48" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TOTAL_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CONCURRENT_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CONNECTED_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BUSY_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="CPU_TIME" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BYTES_RECEIVED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BYTES_SENT" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="BINLOG_BYTES_WRITTEN" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_FETCHED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROWS_UPDATED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="TABLE_ROWS_READ" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="SELECT_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="UPDATE_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="OTHER_COMMANDS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="COMMIT_TRANSACTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ROLLBACK_TRANSACTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="DENIED_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="LOST_CONNECTIONS" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="ACCESS_DENIED" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="EMPTY_QUERIES" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
</table>
|
||||
<table name="VIEWS" schema="" catalog="information_schema" type="SYSTEM VIEW">
|
||||
<column name="TABLE_CATALOG" sqlType="VARCHAR" precision="512" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="TABLE_SCHEMA" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="TABLE_NAME" sqlType="VARCHAR" precision="64" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="VIEW_DEFINITION" sqlType="LONGTEXT" precision="2147483647" scale="0" nullable="false" jdbcType="-1"/>
|
||||
<column name="CHECK_OPTION" sqlType="VARCHAR" precision="8" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="IS_UPDATABLE" sqlType="VARCHAR" precision="3" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="DEFINER" sqlType="VARCHAR" precision="77" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="SECURITY_TYPE" sqlType="VARCHAR" precision="7" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="CHARACTER_SET_CLIENT" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="COLLATION_CONNECTION" sqlType="VARCHAR" precision="32" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
</table>
|
||||
<table name="crew_constraints" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="rig_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="role" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="limit_type" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="limit_number" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="for_rig" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6" def="MQ=="/>
|
||||
<column name="for_running" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6" def="MQ=="/>
|
||||
<column name="for_derig" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6" def="MQ=="/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="eventdetails" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="event" sqlType="VARCHAR" precision="255" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="person_id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="organisation_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="access_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="venue" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="description" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="created_on" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="start_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="end_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="threephasepower" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6"/>
|
||||
<column name="updated_on" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="describable_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="describable_type" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="based_on_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4" def="MA=="/>
|
||||
<column name="based_on_type" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="start_time" sqlType="TIME" precision="8" scale="0" nullable="true" jdbcType="92"/>
|
||||
<column name="end_time" sqlType="TIME" precision="8" scale="0" nullable="true" jdbcType="92"/>
|
||||
<column name="access_time" sqlType="TIME" precision="8" scale="0" nullable="true" jdbcType="92"/>
|
||||
<column name="dry_hire" sqlType="TINYINT" precision="3" scale="0" nullable="false" jdbcType="-6" def="MA=="/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<index name="Index_organisation_id" unique="false" columns="organisation_id"/>
|
||||
<index name="Index_person_id" unique="false" columns="person_id"/>
|
||||
</table>
|
||||
<table name="invoices" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="created_by_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="last_edited_by_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="person_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="organisation_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="rig_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="invoice_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="payment_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="payment_id" sqlType="VARCHAR" precision="30" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="description" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="amount" sqlType="DECIMAL" precision="10" scale="0" nullable="false" jdbcType="3"/>
|
||||
<column name="created_at" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="updated_at" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="non_rigs" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="name" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="start_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="start_time" sqlType="TIME" precision="8" scale="0" nullable="true" jdbcType="92"/>
|
||||
<column name="end_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="end_time" sqlType="TIME" precision="8" scale="0" nullable="true" jdbcType="92"/>
|
||||
<column name="description" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="user_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="created_on" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="updated_on" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="active" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="organisations" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="name" sqlType="VARCHAR" precision="255" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="address" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="phone" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="union_account" sqlType="TINYINT" precision="3" scale="0" nullable="false" jdbcType="-6" def="MA=="/>
|
||||
<column name="status" sqlType="VARCHAR" precision="45" scale="0" nullable="false" jdbcType="12"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="people" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="name" sqlType="VARCHAR" precision="255" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="phone" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="email" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="address" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="status" sqlType="VARCHAR" precision="45" scale="0" nullable="false" jdbcType="12"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="quotes" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="user_id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="created_on" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="updated_on" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="issued_on" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="valid_for" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MzA="/>
|
||||
<column name="status" sqlType="VARCHAR" precision="45" scale="0" nullable="false" jdbcType="12"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<index name="FK_quotes_user" unique="false" columns="user_id"/>
|
||||
</table>
|
||||
<table name="rig_items" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="eventdetail_id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="name" sqlType="VARCHAR" precision="255" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="description" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="quantity" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4" def="MQ=="/>
|
||||
<column name="sortorder" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="cost" sqlType="FLOAT" precision="12" scale="0" nullable="true" jdbcType="7"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<index name="FK_rigitem_eventdetails" unique="false" columns="eventdetail_id"/>
|
||||
</table>
|
||||
<table name="rig_signups" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="rig_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="user_id" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
<column name="role" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="comment" sqlType="VARCHAR" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="created_on" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="updated_on" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="for_rig" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6" def="MA=="/>
|
||||
<column name="for_running" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6" def="MA=="/>
|
||||
<column name="for_derig" sqlType="TINYINT" precision="3" scale="0" nullable="true" jdbcType="-6" def="MA=="/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="rigs" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="user_id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="created_on" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="meet_date" sqlType="DATE" precision="10" scale="0" nullable="true" jdbcType="91"/>
|
||||
<column name="order_no" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="payment_received" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="payment_method" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="collectorsid" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="updated_on" sqlType="DATETIME" precision="19" scale="0" nullable="false" jdbcType="93" def="JzAwMDAtMDAtMDAgMDA6MDA6MDAn"/>
|
||||
<column name="meet_time" sqlType="TIME" precision="8" scale="0" nullable="true" jdbcType="92"/>
|
||||
<column name="status" sqlType="VARCHAR" precision="45" scale="0" nullable="false" jdbcType="12"/>
|
||||
<column name="meet_info" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<index name="FK_rigs_user" unique="false" columns="user_id"/>
|
||||
</table>
|
||||
<table name="schema_info" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="version" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4"/>
|
||||
</table>
|
||||
<table name="sessions" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="session_id" sqlType="VARCHAR" precision="255" scale="0" nullable="false" jdbcType="12"/>
|
||||
<column name="data" sqlType="TEXT" precision="65535" scale="0" nullable="true" jdbcType="-1"/>
|
||||
<column name="created_at" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="updated_at" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<index name="index_sessions_on_session_id" unique="false" columns="session_id"/>
|
||||
<index name="index_sessions_on_updated_at" unique="false" columns="updated_at"/>
|
||||
</table>
|
||||
<table name="user_group_controller_permissions" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="user_group_id" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="controller_name" sqlType="VARCHAR" precision="45" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<foreign-key name="FK_user_group_controller_permissions_user_group" columns="user_group_id" ref-table="user_groups" ref-schema="" ref-catalog="tec_rigs" ref-columns="id" update-rule="3" delete-rule="0" deferrability="2"/>
|
||||
<index name="FK_user_group_controller_permissions_user_group" unique="false" columns="user_group_id"/>
|
||||
</table>
|
||||
<table name="user_group_memberships" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="user_id" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="group_id" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="is_admin" sqlType="TINYINT UNSIGNED" precision="3" scale="0" nullable="false" jdbcType="-6" def="MA=="/>
|
||||
<column name="id" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="user_groups" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="name" sqlType="VARCHAR" precision="45" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="description" sqlType="VARCHAR" precision="200" scale="0" nullable="true" jdbcType="12"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
<exported-key name="FK_user_group_controller_permissions_user_group" table="user_group_controller_permissions" schema="" catalog="tec_rigs" columns="user_group_id"/>
|
||||
</table>
|
||||
<table name="users" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="login" sqlType="VARCHAR" precision="80" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="salted_password" sqlType="VARCHAR" precision="40" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="email" sqlType="VARCHAR" precision="60" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="first_name" sqlType="VARCHAR" precision="40" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="last_name" sqlType="VARCHAR" precision="40" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="salt" sqlType="VARCHAR" precision="40" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="verified" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4" def="MA=="/>
|
||||
<column name="role" sqlType="INT UNSIGNED" precision="10" scale="0" nullable="false" jdbcType="4" def="MA=="/>
|
||||
<column name="security_token" sqlType="VARCHAR" precision="40" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="token_expiry" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="deleted" sqlType="INT" precision="10" scale="0" nullable="true" jdbcType="4" def="MA=="/>
|
||||
<column name="delete_after" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="initials" sqlType="VARCHAR" precision="15" scale="0" nullable="false" jdbcType="12" def="Jyc="/>
|
||||
<column name="phone_number" sqlType="VARCHAR" precision="30" scale="0" nullable="true" jdbcType="12"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
<table name="vat_rates" schema="" catalog="tec_rigs" type="TABLE">
|
||||
<column name="id" sqlType="INT" precision="10" scale="0" nullable="false" jdbcType="4" autoIncrement="true"/>
|
||||
<column name="created_at" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="updated_at" sqlType="DATETIME" precision="19" scale="0" nullable="true" jdbcType="93"/>
|
||||
<column name="start_date" sqlType="DATE" precision="10" scale="0" nullable="false" jdbcType="91"/>
|
||||
<column name="start_time" sqlType="TIME" precision="8" scale="0" nullable="false" jdbcType="92"/>
|
||||
<column name="comment" sqlType="TINYTEXT" precision="255" scale="0" nullable="true" jdbcType="12"/>
|
||||
<column name="rate" sqlType="DECIMAL" precision="6" scale="6" nullable="false" jdbcType="3"/>
|
||||
<primary-key name="PRIMARY" columns="id"/>
|
||||
</table>
|
||||
</data-source>
|
||||
</component>
|
||||
15
.idea/dataSources.xml
generated
15
.idea/dataSources.xml
generated
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" hash="3840546221">
|
||||
<component name="DataSourceManagerImpl" format="xml" hash="12359522">
|
||||
<data-source source="LOCAL" name="Django default" uuid="09730cb6-cd27-4034-9959-d242e7905a51">
|
||||
<driver-ref>sqlite.xerial</driver-ref>
|
||||
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>
|
||||
@@ -8,6 +8,19 @@
|
||||
<table-pattern>.*</table-pattern>
|
||||
<libraries />
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="MySQL - tec_rigs@alfie.codedinternet.com" read-only="true" uuid="828bc60d-f5c3-4e1f-9566-2614d7328388">
|
||||
<driver-ref>mysql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>com.mysql.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://alfie.codedinternet.com:3306/tec_rigs</jdbc-url>
|
||||
<user-name>tec_rigs</user-name>
|
||||
<user-password>dfd2dfe7dfe4dfc8df82dfc8df81dfeddfc3dfdfdff7df8c</user-password>
|
||||
<driver-properties>
|
||||
<property name="zeroDateTimeBehavior" value="convertToNull" />
|
||||
<property name="tinyInt1isBit" value="false" />
|
||||
</driver-properties>
|
||||
<libraries />
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
|
||||
|
||||
@@ -27,10 +27,7 @@ def import_people():
|
||||
sql = """SELECT `id`, `name`, `phone`, `email`, `address`, `status` FROM `people`"""
|
||||
cursor.execute(sql)
|
||||
resp = cursor.fetchall()
|
||||
i=0
|
||||
for row in resp:
|
||||
if (i+1) > 1:
|
||||
break
|
||||
email = row[3]
|
||||
if email is not "" and "@" not in email:
|
||||
email += "@nottingham.ac.uk"
|
||||
@@ -47,8 +44,32 @@ def import_people():
|
||||
else:
|
||||
print("Found: " + person.__unicode__())
|
||||
|
||||
def import_organisations():
|
||||
cursor = setup_cursor()
|
||||
if cursor is None:
|
||||
return
|
||||
sql = """SELECT `id`, `name`, `phone`, `address`, `union_account`, `status` FROM `organisations`"""
|
||||
cursor.execute(sql)
|
||||
for row in cursor.fetchall():
|
||||
unionAccount = False
|
||||
if row[4] == "1":
|
||||
unionAccount = True
|
||||
|
||||
notes = ""
|
||||
if row[5] != "Normal":
|
||||
notes = row[5]
|
||||
|
||||
object, created = models.Organisation.objects.get_or_create(pk=row[0], name=row[1], phone=row[2], address=row[3], unionAccount=unionAccount, notes=notes)
|
||||
if created:
|
||||
print("Created: " + object.__unicode__())
|
||||
with transaction.atomic(), reversion.create_revision():
|
||||
object.save()
|
||||
else:
|
||||
print("Found: " + object.__unicode__())
|
||||
|
||||
def main():
|
||||
import_people()
|
||||
#import_people()
|
||||
import_organisations()
|
||||
|
||||
if __name__=="__main__":
|
||||
main()
|
||||
30
RIGS/migrations/0004_organisation.py
Normal file
30
RIGS/migrations/0004_organisation.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
import RIGS.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('RIGS', '0003_auto_20141031_0219'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Organisation',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', auto_created=True, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(max_length=50)),
|
||||
('phone', models.CharField(null=True, blank=True, max_length=15)),
|
||||
('email', models.EmailField(null=True, blank=True, max_length=75)),
|
||||
('address', models.TextField(null=True, blank=True)),
|
||||
('notes', models.TextField(null=True, blank=True)),
|
||||
('unionAccount', models.BooleanField(default=False)),
|
||||
],
|
||||
options={
|
||||
},
|
||||
bases=(models.Model, RIGS.models.RevisionMixin),
|
||||
),
|
||||
]
|
||||
@@ -44,3 +44,19 @@ class Person(models.Model, RevisionMixin):
|
||||
string += "*"
|
||||
return string
|
||||
|
||||
@reversion.register
|
||||
class Organisation(models.Model, RevisionMixin):
|
||||
name = models.CharField(max_length=50)
|
||||
phone = models.CharField(max_length=15, blank=True, null=True)
|
||||
email = models.EmailField(blank=True, null=True)
|
||||
|
||||
address = models.TextField(blank=True, null=True)
|
||||
|
||||
notes = models.TextField(blank=True, null=True)
|
||||
unionAccount = models.BooleanField(default=False)
|
||||
|
||||
def __unicode__(self):
|
||||
string = self.name
|
||||
if len(self.notes) > 0:
|
||||
string += "*"
|
||||
return string
|
||||
Reference in New Issue
Block a user