Rename TypeDeChamps to TypeDeChamp
This commit is contained in:
parent
519af34c82
commit
f3d8645426
34 changed files with 644 additions and 634 deletions
|
@ -0,0 +1,5 @@
|
|||
class RenameTypeDeChampsToTypeDeChamp < ActiveRecord::Migration
|
||||
def change
|
||||
rename_table :types_de_champs, :types_de_champ
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class RenameTypeDeChampsIdToTypeDeChampIdOnChamp < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :champs, :type_de_champs_id, :type_de_champ_id
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151103091603) do
|
||||
ActiveRecord::Schema.define(version: 20151105095431) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -43,7 +43,7 @@ ActiveRecord::Schema.define(version: 20151103091603) do
|
|||
|
||||
create_table "champs", force: :cascade do |t|
|
||||
t.string "value"
|
||||
t.integer "type_de_champs_id"
|
||||
t.integer "type_de_champ_id"
|
||||
t.integer "dossier_id"
|
||||
end
|
||||
|
||||
|
@ -142,7 +142,7 @@ ActiveRecord::Schema.define(version: 20151103091603) do
|
|||
t.boolean "use_api_carto", default: false
|
||||
end
|
||||
|
||||
create_table "types_de_champs", force: :cascade do |t|
|
||||
create_table "types_de_champ", force: :cascade do |t|
|
||||
t.string "libelle"
|
||||
t.string "type_champs"
|
||||
t.integer "order_place"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue