demarches/db/migrate/20240629084023_create_letters.rb
2024-09-01 16:55:38 +02:00

10 lines
242 B
Ruby

class CreateLetters < ActiveRecord::Migration[7.1]
def change
create_table :letters, id: :uuid do |t|
t.string :title, null: false
t.string :template, null: false
t.integer :target
t.timestamps
end
end
end