feat: change document commnet db type to text (#182)
This commit is contained in:
parent
d345fee98f
commit
02c76cdbba
|
@ -86,7 +86,7 @@ public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
|
||||||
/**
|
/**
|
||||||
* The column <code>databasir.table_column_document.comment</code>.
|
* The column <code>databasir.table_column_document.comment</code>.
|
||||||
*/
|
*/
|
||||||
public final TableField<TableColumnDocumentRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.VARCHAR(512), this, "");
|
public final TableField<TableColumnDocumentRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The column <code>databasir.table_column_document.default_value</code>.
|
* The column <code>databasir.table_column_document.default_value</code>.
|
||||||
|
|
|
@ -74,7 +74,7 @@ public class TableDocument extends TableImpl<TableDocumentRecord> {
|
||||||
/**
|
/**
|
||||||
* The column <code>databasir.table_document.comment</code>.
|
* The column <code>databasir.table_document.comment</code>.
|
||||||
*/
|
*/
|
||||||
public final TableField<TableDocumentRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.VARCHAR(512), this, "");
|
public final TableField<TableDocumentRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The column <code>databasir.table_document.create_at</code>.
|
* The column <code>databasir.table_document.create_at</code>.
|
||||||
|
|
|
@ -6,14 +6,15 @@ package com.databasir.dao.tables.records;
|
||||||
|
|
||||||
import com.databasir.dao.tables.DatabaseType;
|
import com.databasir.dao.tables.DatabaseType;
|
||||||
import com.databasir.dao.tables.pojos.DatabaseTypePojo;
|
import com.databasir.dao.tables.pojos.DatabaseTypePojo;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
import org.jooq.Field;
|
import org.jooq.Field;
|
||||||
import org.jooq.Record1;
|
import org.jooq.Record1;
|
||||||
import org.jooq.Record13;
|
import org.jooq.Record13;
|
||||||
import org.jooq.Row13;
|
import org.jooq.Row13;
|
||||||
import org.jooq.impl.UpdatableRecordImpl;
|
import org.jooq.impl.UpdatableRecordImpl;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* customer database types
|
* customer database types
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
ALTER TABLE databasir.table_document
|
||||||
|
MODIFY COLUMN `comment` TEXT DEFAULT NULL;
|
||||||
|
ALTER TABLE databasir.table_column_document
|
||||||
|
MODIFY COLUMN `comment` TEXT DEFAULT NULL;
|
Loading…
Reference in New Issue