Procedure: add cloned_from_library flag
This commit is contained in:
parent
344bd545b1
commit
06a5063807
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class AddClonedFromLibraryColumnToProcedure < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_column :procedures, :cloned_from_library, :boolean, default: false
|
||||||
|
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: 2018_04_05_131207) do
|
ActiveRecord::Schema.define(version: 2018_04_11_152844) 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 "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
@ -462,6 +462,7 @@ ActiveRecord::Schema.define(version: 2018_04_05_131207) do
|
||||||
t.datetime "whitelisted_at"
|
t.datetime "whitelisted_at"
|
||||||
t.boolean "ask_birthday", default: false, null: false
|
t.boolean "ask_birthday", default: false, null: false
|
||||||
t.string "web_hook_url"
|
t.string "web_hook_url"
|
||||||
|
t.boolean "cloned_from_library", default: false
|
||||||
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
|
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue