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