This is an automated email from the ASF dual-hosted git repository. rcordier pushed a commit to branch postgresql in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 2cfbef2089a148f4280427b4df2ca3fd788ebfa1 Author: Benoit TELLIER <[email protected]> AuthorDate: Fri Nov 10 11:27:57 2023 +0100 JAMES-2586 Document (link) varchar underlying maximum lengths --- .../james/mailbox/postgres/user/PostgresSubscriptionModule.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/user/PostgresSubscriptionModule.java b/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/user/PostgresSubscriptionModule.java index 54ce1cc49d..3f07843eab 100644 --- a/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/user/PostgresSubscriptionModule.java +++ b/mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/user/PostgresSubscriptionModule.java @@ -29,8 +29,13 @@ import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; public interface PostgresSubscriptionModule { - + /** + * See {@link MailboxManager.MAX_MAILBOX_NAME_LENGTH} + */ Field<String> MAILBOX = DSL.field("mailbox", SQLDataType.VARCHAR(255).notNull()); + /** + * See {@link Username.MAXIMUM_MAIL_ADDRESS_LENGTH} + */ Field<String> USER = DSL.field("user_name", SQLDataType.VARCHAR(255).notNull()); Table<Record> TABLE_NAME = DSL.table("subscription"); PostgresTable TABLE = PostgresTable.name(TABLE_NAME.getName()) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
