Merge pull request #8438 from tchak/chore-remove-columns
chore(db): remove unused columns
This commit is contained in:
commit
1f31a6197e
41 changed files with 15 additions and 50 deletions
|
@ -2,15 +2,12 @@
|
||||||
#
|
#
|
||||||
# Table name: administrateurs
|
# Table name: administrateurs
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# encrypted_token :string
|
# created_at :datetime
|
||||||
# created_at :datetime
|
# updated_at :datetime
|
||||||
# updated_at :datetime
|
# user_id :bigint not null
|
||||||
# user_id :bigint not null
|
|
||||||
#
|
#
|
||||||
class Administrateur < ApplicationRecord
|
class Administrateur < ApplicationRecord
|
||||||
self.ignored_columns = [:active, :encrypted_token]
|
|
||||||
|
|
||||||
UNUSED_ADMIN_THRESHOLD = 6.months
|
UNUSED_ADMIN_THRESHOLD = 6.months
|
||||||
|
|
||||||
has_and_belongs_to_many :instructeurs
|
has_and_belongs_to_many :instructeurs
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
@ -22,7 +21,6 @@
|
||||||
# type_de_champ_id :integer
|
# type_de_champ_id :integer
|
||||||
#
|
#
|
||||||
class Champ < ApplicationRecord
|
class Champ < ApplicationRecord
|
||||||
self.ignored_columns = [:row]
|
|
||||||
belongs_to :dossier, inverse_of: false, touch: true, optional: false
|
belongs_to :dossier, inverse_of: false, touch: true, optional: false
|
||||||
belongs_to :type_de_champ, inverse_of: :champ, optional: false
|
belongs_to :type_de_champ, inverse_of: :champ, optional: false
|
||||||
belongs_to :parent, class_name: 'Champ', optional: true
|
belongs_to :parent, class_name: 'Champ', optional: true
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# prefilled :boolean default(FALSE)
|
# prefilled :boolean default(FALSE)
|
||||||
# private :boolean default(FALSE), not null
|
# private :boolean default(FALSE), not null
|
||||||
# rebased_at :datetime
|
# rebased_at :datetime
|
||||||
# row :integer
|
|
||||||
# type :string
|
# type :string
|
||||||
# value :string
|
# value :string
|
||||||
# value_json :jsonb
|
# value_json :jsonb
|
||||||
|
|
5
db/migrate/20230117094309_remove_row_from_champs.rb
Normal file
5
db/migrate/20230117094309_remove_row_from_champs.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class RemoveRowFromChamps < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
safety_assured { remove_columns :champs, :row }
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,5 @@
|
||||||
|
class RemoveEncryptedTokenAndActiveFromAdministrateurs < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
safety_assured { remove_columns :administrateurs, :encrypted_token, :active }
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,7 +10,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: 2023_01_11_094621) do
|
ActiveRecord::Schema.define(version: 2023_01_17_094317) 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 "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
|
@ -60,9 +60,7 @@ ActiveRecord::Schema.define(version: 2023_01_11_094621) do
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "administrateurs", id: :serial, force: :cascade do |t|
|
create_table "administrateurs", id: :serial, force: :cascade do |t|
|
||||||
t.boolean "active", default: false
|
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.string "encrypted_token"
|
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.bigint "user_id", null: false
|
t.bigint "user_id", null: false
|
||||||
t.index ["user_id"], name: "index_administrateurs_on_user_id"
|
t.index ["user_id"], name: "index_administrateurs_on_user_id"
|
||||||
|
@ -226,7 +224,6 @@ ActiveRecord::Schema.define(version: 2023_01_11_094621) do
|
||||||
t.boolean "prefilled"
|
t.boolean "prefilled"
|
||||||
t.boolean "private", default: false, null: false
|
t.boolean "private", default: false, null: false
|
||||||
t.datetime "rebased_at"
|
t.datetime "rebased_at"
|
||||||
t.integer "row"
|
|
||||||
t.string "row_id"
|
t.string "row_id"
|
||||||
t.string "type"
|
t.string "type"
|
||||||
t.integer "type_de_champ_id", null: false
|
t.integer "type_de_champ_id", null: false
|
||||||
|
@ -237,7 +234,6 @@ ActiveRecord::Schema.define(version: 2023_01_11_094621) do
|
||||||
t.index ["etablissement_id"], name: "index_champs_on_etablissement_id"
|
t.index ["etablissement_id"], name: "index_champs_on_etablissement_id"
|
||||||
t.index ["parent_id"], name: "index_champs_on_parent_id"
|
t.index ["parent_id"], name: "index_champs_on_parent_id"
|
||||||
t.index ["private"], name: "index_champs_on_private"
|
t.index ["private"], name: "index_champs_on_private"
|
||||||
t.index ["row"], name: "index_champs_on_row"
|
|
||||||
t.index ["row_id"], name: "index_champs_on_row_id"
|
t.index ["row_id"], name: "index_champs_on_row_id"
|
||||||
t.index ["type"], name: "index_champs_on_type"
|
t.index ["type"], name: "index_champs_on_type"
|
||||||
t.index ["type_de_champ_id", "dossier_id", "row_id"], name: "index_champs_on_type_de_champ_id_and_dossier_id_and_row_id", unique: true
|
t.index ["type_de_champ_id", "dossier_id", "row_id"], name: "index_champs_on_type_de_champ_id_and_dossier_id_and_row_id", unique: true
|
||||||
|
|
Loading…
Reference in a new issue