3 ms·
re table inheritance, don't confuse SQL Table Inheritance with PostgreSQL Table Inheritance. They are different things. SQL Table Inheritance is a good thing, a
by elchief 7y ago
re table inheritance, don't confuse SQL Table Inheritance with PostgreSQL Table Inheritance. They are different things. SQL Table Inheritance is a good thing, and should be used when needed, such as for the Party Model
https://stackoverflow.com/questions/716549/what-are-the-principles-behind-and-benefits-of-the-party-model https://stackoverflow.com/questions/716549/what-are-the-prin...
For money amounts, use NUMERIC(19,4)
- drdaeman 7y ago> For money amounts, use NUMERIC(19,4) Note, if you'll ever encounter yourself dealing with cryptocurrencies you would probably found yourself wanting to have at least 18 decimal places (BTC and lots of coins have 8, and ETH has 18).