Class: CreateFeedbackAuthors
- Inherits:
-
Object
- Object
- CreateFeedbackAuthors
- Defined in:
- lib/nexmo_developer/db/migrate/20170907172926_create_feedback_authors.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/nexmo_developer/db/migrate/20170907172926_create_feedback_authors.rb', line 2 def change create_table :feedback_authors, id: :uuid do |t| t.string :email, unique: true t. end add_index :feedback_authors, :email end |