Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

158 subscriber interests #186

Merged
merged 2 commits into from
Apr 29, 2015
Merged

158 subscriber interests #186

merged 2 commits into from
Apr 29, 2015

Conversation

richardrodgers
Copy link
Collaborator

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 55.67% when pulling d43920d on 158_subscriber_interests into b40ac6f on master.


CREATE SEQUENCE interest_id_seq;
CREATE TABLE interest (
id integer NOT NULL DEFAULT nextval('interest_id_seq'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not change this, but you can simplify auto_incrementing definitions in Postgres by using the type colname SERIAL:
http://www.postgresql.org/docs/9.2/static/datatype-numeric.html#DATATYPE-SERIAL

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good point. I had started the DDL to be DB-agnostic, but there might already be some Postgresqlisms that have crept in. So why not go whole-hog?

@JPrevost
Copy link
Member

👍 I think #187 will resolve my only big concern.

richardrodgers pushed a commit that referenced this pull request Apr 29, 2015
@richardrodgers richardrodgers merged commit 9a7ca4a into master Apr 29, 2015
@richardrodgers richardrodgers deleted the 158_subscriber_interests branch April 29, 2015 14:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants