Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Error
- ./db/migrate//021_create_representatives.rb:4: syntax error, unexpected '\n', expecting tCOLON2 or '[' or '.'
- ## Migration
- class CreateRepresentatives < ActiveRecord::Migration
- def self.up
- create_table :representatives do |t|
- t.string, :first_name
- t.string, :last_name
- t.string, :section
- t.string, :title
- t.string, :email_address
- t.integer :district
- t.timestamps
- end
- end
- def self.down
- drop_table :representatives
- end
- end
Add Comment
Please, Sign In to add comment