scaffold accounts

This commit is contained in:
mmoser committed 2016-08-27 21:40:21 -05:00
1 parent 8ff9ca02f8
commit 3d5743b92f
16 files changed
+289 -1

No files matched your search

@@ -0,0 +1,13 @@
class CreateAccounts < ActiveRecord::Migration[5.0]
def change
create_table :accounts do |t|
t.string :username
t.string :password
t.string :home
t.string :site
t.timestamps
end
add_index :accounts, :username, unique: true
end
end