1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

updated db schema

This commit is contained in:
Sylvain 2017-02-16 08:53:51 +01:00
parent f850c66f01
commit 64b79e014f

View File

@ -15,8 +15,8 @@ ActiveRecord::Schema.define(version: 20170213142543) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "pg_trgm"
enable_extension "unaccent"
enable_extension "pg_trgm"
create_table "abuses", force: :cascade do |t|
t.integer "signaled_id"
@ -289,7 +289,7 @@ ActiveRecord::Schema.define(version: 20170213142543) do
t.boolean "is_read", default: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "receiver_type"
t.string "receiver_type", limit: 255
t.boolean "is_send", default: false
t.jsonb "meta_data", default: {}
end
@ -467,7 +467,7 @@ ActiveRecord::Schema.define(version: 20170213142543) do
t.datetime "published_at"
end
add_index "projects", ["slug"], name: "index_projects_on_slug", using: :btree
add_index "projects", ["slug"], name: "index_projects_on_slug", unique: true, using: :btree
create_table "projects_components", force: :cascade do |t|
t.integer "project_id"
@ -544,8 +544,8 @@ ActiveRecord::Schema.define(version: 20170213142543) do
t.datetime "updated_at"
t.integer "availability_id"
t.datetime "ex_start_at"
t.datetime "ex_end_at"
t.datetime "canceled_at"
t.datetime "ex_end_at"
t.boolean "offered", default: false
end
@ -747,6 +747,7 @@ ActiveRecord::Schema.define(version: 20170213142543) do
add_index "user_trainings", ["user_id"], name: "index_user_trainings_on_user_id", using: :btree
create_table "users", force: :cascade do |t|
t.string "username", limit: 255
t.string "email", limit: 255, default: "", null: false
t.string "encrypted_password", limit: 255, default: "", null: false
t.string "reset_password_token", limit: 255
@ -769,7 +770,6 @@ ActiveRecord::Schema.define(version: 20170213142543) do
t.boolean "is_allow_contact", default: true
t.integer "group_id"
t.string "stp_customer_id", limit: 255
t.string "username", limit: 255
t.string "slug", limit: 255
t.boolean "is_active", default: true
t.boolean "invoicing_disabled", default: false