2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-12-01 20:00:29 +01:00
|
|
|
class CreateZones < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
|
|
|
create_table :zones do |t|
|
2021-11-24 06:09:51 +01:00
|
|
|
t.string :acronym, null: false, index: { unique: true }
|
2021-12-01 20:00:29 +01:00
|
|
|
t.string :label
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|