ecoffee/db/migrate/20250310183139_create_instances.rb

14 lines
270 B
Ruby

class CreateInstances < ActiveRecord::Migration[8.0]
def change
create_table :instances do |t|
t.string :public_id
t.string :name
t.string :password
t.string :zone
t.timestamps
end
add_index :instances, :public_id
end
end