12 lines
233 B
Ruby
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
|