public NpgQuery CreateColumn(string table, NpgColumnInfo column) { var text = string.Format("ALTER TABLE {0} ADD COLUMN {1} {2} {3};", table, column.Name, column.DataType, column.NotNull ? "NOT NULL" : "NULL"); return new NpgQuery(text); }
public NpgQuery CreateColumn(string table, NpgColumnInfo column) { var text = string.Format("ALTER TABLE {0} ADD COLUMN {1} {2} {3};", table, column.Name, column.DataType, column.NotNull ? "NOT NULL" : "NULL"); return(new NpgQuery(text)); }