thirteen-tien-len/db/migrate/20230921143200_create_canisters.rb
2023-09-24 09:49:42 +00:00

12 lines
225 B
Ruby

class CreateCanisters < ActiveRecord::Migration[5.2]
def change
create_table :canisters do |t|
t.string :icid
t.string :name
t.belongs_to :user, foreign_key: true
t.timestamps
end
end
end