add euro flag to procedure object
This commit is contained in:
parent
f42f3820e9
commit
8755ce2ab1
11 changed files with 78 additions and 10 deletions
5
db/migrate/20151210134135_add_euro_flag_to_procedure.rb
Normal file
5
db/migrate/20151210134135_add_euro_flag_to_procedure.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddEuroFlagToProcedure < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :procedures, :euro_flag, :boolean, default: false
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151207140202) do
|
||||
ActiveRecord::Schema.define(version: 20151210134135) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -160,6 +160,7 @@ ActiveRecord::Schema.define(version: 20151207140202) do
|
|||
t.boolean "test"
|
||||
t.integer "administrateur_id"
|
||||
t.boolean "archived", default: false
|
||||
t.boolean "euro_flag", default: false
|
||||
end
|
||||
|
||||
create_table "quartier_prioritaires", force: :cascade do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue