From 6cf54e76f0ca4b30f6883f15c3a64aca4f4eddd2 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 9 Mar 2023 18:56:25 -0600 Subject: AƱade modelo company MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20230309235713_create_companies.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20230309235713_create_companies.rb (limited to 'db/migrate/20230309235713_create_companies.rb') 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 -- cgit v1.2.3