app/src/main/java/db/juhaku/juhakudb/core/schema/Schema.java
/**
         * Generates alter table DDL for given table with given column.
         * @param table Schema table to alter with.
         * @param column Schema column to add.
         * @return String value containing alter table DDL.
         */
Generates alter table DDL for given table with given column.
@param table Schema table to alter with.
@param column Schema column to add.
@return String value containing alter table DDL.
Generates alter table DDL for given table with given column . @param table Schema table to alter with . @param column Schema column to add . @return String value containing alter table DDL .
public static String alterTable(Schema table, Schema column) {
            return new StringBuilder("ALTER TABLE ").append(table.getName())
                    .append(" ADD COLUMN ").append(column.getName()).append(" ")
                    .append(column.getType()).append(" ").append(column.getExtensions()).toString();
        }
public static String alterTable ( Schema table , Schema column ) { return new StringBuilder ( "ALTER TABLE " ) . append ( table . getName ( ) ) . append ( " ADD COLUMN " ) . append ( column . getName ( ) ) . append ( " " ) . append ( column . getType ( ) ) . append ( " " ) . append ( column . getExtensions ( ) ) . toString ( ) ; }
Generates alter table DDL for given table with given column.
Generates alter table DDL for given table with given column .