demarches/db/migrate/20240608185124_create_letters.rb

13 lines
233 B
Ruby
Raw Normal View History

2024-06-08 19:27:11 +00:00
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