2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-08-11 19:04:54 +02:00
|
|
|
class CreateZoneLabels < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
|
|
|
create_table :zone_labels do |t|
|
|
|
|
t.belongs_to :zone, null: false, foreign_key: true
|
|
|
|
t.date :designated_on, null: false
|
|
|
|
t.string :name, null: false
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|