Hi everyone,

i have a question, i duplicated a table with:

Table<?> table = DSL.table(DSL.name("dc2", "process"));
    
dsl.createTable(table).as(dsl.select().from("dc1.process")).withNoData().execute();

but doesn't copy a primary key and foreignkey, how i do?

and if i want to duplicate schema in jooq? thanks Giuseppe

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jooq-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/104c349b-4add-472d-97ac-01921da2c131%40googlegroups.com.

Reply via email to