Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

update schema to disallow NULL in some columns #35

Closed
chadwhitacre opened this issue Jun 8, 2012 · 4 comments
Closed

update schema to disallow NULL in some columns #35

chadwhitacre opened this issue Jun 8, 2012 · 4 comments

Comments

@chadwhitacre
Copy link
Contributor

Statement in particular, check for others.

@chadwhitacre
Copy link
Contributor Author

Deployed to prod.

@chadwhitacre
Copy link
Contributor Author

I believe balance should also be NOT NULL.

@chadwhitacre
Copy link
Contributor Author

I backed up the production database, verified the backup, and applied this change.

@chadwhitacre
Copy link
Contributor Author

Tip: In most database designs the majority of columns should be marked not null.

http://www.postgresql.org/docs/current/static/ddl-constraints.html

FYI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant