Skip to content

Commit

Permalink
Update model annotations after serial to identity switch
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jun 26, 2018
1 parent 5fe6de6 commit cacd90e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion models/event.rb
Expand Up @@ -95,7 +95,7 @@ def thank_you_notes

# Table: events
# Columns:
# id | integer | PRIMARY KEY DEFAULT nextval('events_id_seq'::regclass)
# id | integer | PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY
# name | text | NOT NULL
# num_gifts | integer | NOT NULL DEFAULT 0
# user_id | integer | NOT NULL
Expand Down
2 changes: 1 addition & 1 deletion models/gift.rb
Expand Up @@ -44,7 +44,7 @@ def before_create

# Table: gifts
# Columns:
# id | integer | PRIMARY KEY DEFAULT nextval('gifts_id_seq'::regclass)
# id | integer | PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY
# name | text | NOT NULL
# inserted_at | timestamp without time zone |
# event_id | integer | NOT NULL
Expand Down
2 changes: 1 addition & 1 deletion models/person.rb
Expand Up @@ -27,7 +27,7 @@ def make_sender(e)

# Table: people
# Columns:
# id | integer | PRIMARY KEY DEFAULT nextval('people_id_seq'::regclass)
# id | integer | PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY
# name | text | NOT NULL
# user_id | integer | NOT NULL
# Indexes:
Expand Down
2 changes: 1 addition & 1 deletion models/user.rb
Expand Up @@ -10,7 +10,7 @@ def password=(new_password)

# Table: users
# Columns:
# id | integer | PRIMARY KEY DEFAULT nextval('users_id_seq'::regclass)
# id | integer | PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY
# name | text | NOT NULL
# password_hash | text | NOT NULL
# Indexes:
Expand Down

0 comments on commit cacd90e

Please sign in to comment.