diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-21 12:31:50 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-21 12:31:50 -0700 |
| commit | 6ada62adfd2b60e3af4f721ed8e09a5658920fa6 (patch) | |
| tree | 1f65086944ce3be9b12b48bda16761fde6a6b965 /db/migrate | |
| parent | d3f91de6fcc6d27bc2d7adb8f1e14d73b71e7b96 (diff) | |
add user model and login page.
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20150221192553_create_users.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20150221192553_create_users.rb b/db/migrate/20150221192553_create_users.rb new file mode 100644 index 0000000..72a9f38 --- /dev/null +++ b/db/migrate/20150221192553_create_users.rb @@ -0,0 +1,10 @@ +class CreateUsers < ActiveRecord::Migration + def change + create_table :users do |t| + t.string :username + t.string :password_digest + + t.timestamps null: false + end + end +end |
