diff options
Diffstat (limited to 'db/migrate/20220115164820_create_machines.rb')
-rw-r--r-- | db/migrate/20220115164820_create_machines.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20220115164820_create_machines.rb b/db/migrate/20220115164820_create_machines.rb new file mode 100644 index 0000000..6e889fc --- /dev/null +++ b/db/migrate/20220115164820_create_machines.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +class CreateMachines < ActiveRecord::Migration[7.0] + def change + create_table :machines do |t| + t.string :name + t.string :edition + + t.timestamps + end + end +end |