10 lines
242 B
Ruby
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
|