Added authlogic and user schema

This commit is contained in:
Christoph Haas 2015-06-15 13:04:29 +02:00
parent a9b7e50209
commit 3b056a2db8
6 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,11 @@
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.text :email
t.text :realname
t.text :password
t.timestamps null: false
end
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150503130412) do
ActiveRecord::Schema.define(version: 20150503133405) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -65,6 +65,9 @@ ActiveRecord::Schema.define(version: 20150503130412) do
add_index "screenshots", ["id", "uploaderhash"], name: "id_uploaderhash", using: :btree
create_table "users", force: :cascade do |t|
t.text "email"
t.text "realname"
t.text "password"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end