add tchap hs to zone
This commit is contained in:
parent
174b0edaa1
commit
a191f66508
3 changed files with 9 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
# id :bigint not null, primary key
|
||||
# acronym :string not null
|
||||
# label :string
|
||||
# tchap_hs :string default([]), is an Array
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
|
|
5
db/migrate/20230508103932_add_tchap_hs_to_zones.rb
Normal file
5
db/migrate/20230508103932_add_tchap_hs_to_zones.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddTchapHsToZones < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :zones, :tchap_hs, :string, array: true, default: []
|
||||
end
|
||||
end
|
|
@ -10,7 +10,8 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_05_02_160046) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_05_08_103932) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
|
@ -969,6 +970,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_05_02_160046) do
|
|||
t.string "acronym", null: false
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.string "label"
|
||||
t.string "tchap_hs", default: [], array: true
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["acronym"], name: "index_zones_on_acronym", unique: true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue