Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Liquibase 3.3 and Oracle INTEGER gives NUMBER(10)

$
0
0
Liquibase uses NUMBER(10) to try to keep INTEGER sort of consistent with other databases. How to best handle the mappings are going to get a good overhaul soon. You can use biginteger as a type that will give you a larger integer size, or just use type="NUMBER(*,0)" directly. 

If you want to override it you can create you own IntType extension with different logic in toDatabaseType(), or you could use <modifySql> to fix up the generated NUMBER(10) for oracle.

Nathan

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>