rename type_champs into type_champ and change links/routes for procedure : use show instead of edit
This commit is contained in:
parent
9942525984
commit
5a422c75ac
21 changed files with 84 additions and 48 deletions
|
@ -0,0 +1,5 @@
|
|||
class RenameTypeChampsIntoTypeChamp < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :types_de_champ, :type_champs, :type_champ
|
||||
end
|
||||
end
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue