mirror of
https://github.com/czhu12/canine.git
synced 2026-01-06 11:40:44 -06:00
working team sync
This commit is contained in:
@@ -12,8 +12,6 @@ class CreateLDAPConfigurations < ActiveRecord::Migration[7.2]
|
||||
t.string :name_attribute, default: "cn"
|
||||
t.string :filter
|
||||
t.boolean :allow_anonymous_reads, default: false
|
||||
t.string :reader_dn
|
||||
t.string :reader_password
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
32
db/schema.rb
generated
32
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_11_26_014503) do
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_11_26_014509) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@@ -335,6 +335,22 @@ ActiveRecord::Schema[7.2].define(version: 2025_11_26_014503) do
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "ldap_configurations", force: :cascade do |t|
|
||||
t.string "host", null: false
|
||||
t.integer "port", default: 389, null: false
|
||||
t.integer "encryption", null: false
|
||||
t.string "base_dn", null: false
|
||||
t.string "bind_dn"
|
||||
t.string "bind_password"
|
||||
t.string "uid_attribute", default: "uid", null: false
|
||||
t.string "email_attribute", default: "mail"
|
||||
t.string "name_attribute", default: "cn"
|
||||
t.string "filter"
|
||||
t.boolean "allow_anonymous_reads", default: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "log_outputs", force: :cascade do |t|
|
||||
t.bigint "loggable_id", null: false
|
||||
t.string "loggable_type", null: false
|
||||
@@ -481,6 +497,19 @@ ActiveRecord::Schema[7.2].define(version: 2025_11_26_014503) do
|
||||
t.index ["project_id"], name: "index_services_on_project_id"
|
||||
end
|
||||
|
||||
create_table "sso_providers", force: :cascade do |t|
|
||||
t.bigint "account_id", null: false
|
||||
t.string "configuration_type", null: false
|
||||
t.bigint "configuration_id", null: false
|
||||
t.string "name", null: false
|
||||
t.boolean "enabled", default: true, null: false
|
||||
t.integer "team_provisioning_mode", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["account_id"], name: "index_sso_providers_on_account_id", unique: true
|
||||
t.index ["configuration_type", "configuration_id"], name: "index_sso_providers_on_configuration"
|
||||
end
|
||||
|
||||
create_table "stack_managers", force: :cascade do |t|
|
||||
t.string "provider_url", null: false
|
||||
t.integer "stack_manager_type", default: 0, null: false
|
||||
@@ -580,6 +609,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_11_26_014503) do
|
||||
add_foreign_key "projects", "clusters", column: "project_fork_cluster_id"
|
||||
add_foreign_key "providers", "users"
|
||||
add_foreign_key "services", "projects"
|
||||
add_foreign_key "sso_providers", "accounts"
|
||||
add_foreign_key "stack_managers", "accounts"
|
||||
add_foreign_key "team_memberships", "teams"
|
||||
add_foreign_key "team_memberships", "users"
|
||||
|
||||
Reference in New Issue
Block a user