demarches/db/migrate/20240608185124_create_letters.rb
2024-06-08 21:27:11 +02:00

12 lines
233 B
Ruby

class CreateLetters < ActiveRecord::Migration[7.1]
def change
create_table :letters do |t|
t.string :title
t.string :author
t.string :email
t.boolean :private_email
t.timestamps
end
end
end