Added logs table to database schema
This commit is contained in:
parent
531325548e
commit
bdd2753c96
1 changed files with 11 additions and 1 deletions
12
db/schema.rb
12
db/schema.rb
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
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
|
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|
|
create_table "packages", force: :cascade do |t|
|
||||||
t.string "name", limit: 100
|
t.string "name", limit: 100
|
||||||
t.string "description", limit: 80
|
t.string "description", limit: 80
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue