demarches-normaliennes/db/migrate/20211127133549_create_zones.rb
2024-08-22 09:26:48 +02:00

12 lines
246 B
Ruby

# frozen_string_literal: true
class CreateZones < ActiveRecord::Migration[6.1]
def change
create_table :zones do |t|
t.string :acronym, null: false, index: { unique: true }
t.string :label
t.timestamps
end
end
end