diff options
Diffstat (limited to 'db/migrate/20230309235713_create_companies.rb')
-rw-r--r-- | db/migrate/20230309235713_create_companies.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20230309235713_create_companies.rb b/db/migrate/20230309235713_create_companies.rb new file mode 100644 index 0000000..7c8c527 --- /dev/null +++ b/db/migrate/20230309235713_create_companies.rb @@ -0,0 +1,11 @@ +class CreateCompanies < ActiveRecord::Migration[7.0] + def change + create_table :companies do |t| + t.string :name + t.string :country + t.string :short_name + + t.timestamps + end + end +end |