Added logs table to database schema

This commit is contained in:
Christoph Haas 2015-04-27 00:18:09 +02:00
parent 531325548e
commit bdd2753c96

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150422223156) do
ActiveRecord::Schema.define(version: 20150426141106) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -23,6 +23,16 @@ ActiveRecord::Schema.define(version: 20150422223156) do
add_index "admins", ["username"], name: "admins_username_key", unique: true, using: :btree
create_table "logs", force: :cascade do |t|
t.string "message"
t.string "level"
t.string "section"
t.string "token"
t.inet "ip_address"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "packages", force: :cascade do |t|
t.string "name", limit: 100
t.string "description", limit: 80