mirror of
				https://github.com/vran-dev/databasir.git
				synced 2025-11-04 16:26:10 +08:00 
			
		
		
		
	feat: change document commnet db type to text (#182)
This commit is contained in:
		@@ -86,7 +86,7 @@ public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
 | 
			
		||||
    /**
 | 
			
		||||
     * 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>.
 | 
			
		||||
 
 | 
			
		||||
@@ -74,7 +74,7 @@ public class TableDocument extends TableImpl<TableDocumentRecord> {
 | 
			
		||||
    /**
 | 
			
		||||
     * 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>.
 | 
			
		||||
 
 | 
			
		||||
@@ -6,14 +6,15 @@ package com.databasir.dao.tables.records;
 | 
			
		||||
 | 
			
		||||
import com.databasir.dao.tables.DatabaseType;
 | 
			
		||||
import com.databasir.dao.tables.pojos.DatabaseTypePojo;
 | 
			
		||||
 | 
			
		||||
import java.time.LocalDateTime;
 | 
			
		||||
 | 
			
		||||
import org.jooq.Field;
 | 
			
		||||
import org.jooq.Record1;
 | 
			
		||||
import org.jooq.Record13;
 | 
			
		||||
import org.jooq.Row13;
 | 
			
		||||
import org.jooq.impl.UpdatableRecordImpl;
 | 
			
		||||
 | 
			
		||||
import java.time.LocalDateTime;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 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;
 | 
			
		||||
		Reference in New Issue
	
	Block a user