14 lines
264 B
Ruby
14 lines
264 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateRaspberries < ActiveRecord::Migration[6.1]
|
|
def change
|
|
enable_extension :pgcrypto
|
|
|
|
create_table :raspberries, id: :uuid do |t|
|
|
t.timestamps
|
|
t.string :name
|
|
t.string :public_key
|
|
end
|
|
end
|
|
end
|