Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def self.up
- create_table :users do |t|
- t.string :username
- t.string :password
- t.string :type, :default => 'DEV'
- t.timestamps
- end
- User.create :username => "rreyes", :password => "", :type => "ADM"
- end
Add Comment
Please, Sign In to add comment