rename type_champs into type_champ and change links/routes for procedure : use show instead of edit

This commit is contained in:
Tanguy PATTE 2015-11-17 10:23:05 +01:00
parent 9942525984
commit 5a422c75ac
21 changed files with 84 additions and 48 deletions

View file

@ -0,0 +1,5 @@
class RenameTypeChampsIntoTypeChamp < ActiveRecord::Migration
def change
rename_column :types_de_champ, :type_champs, :type_champ
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20151110091451) do
ActiveRecord::Schema.define(version: 20151116175817) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -146,7 +146,7 @@ ActiveRecord::Schema.define(version: 20151110091451) do
create_table "types_de_champ", force: :cascade do |t|
t.string "libelle"
t.string "type_champs"
t.string "type_champ"
t.integer "order_place"
t.integer "procedure_id"
t.text "description"