From 2a4ebeefe505caed3082f1b8017f71841c4242f5 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Wed, 22 Mar 2023 17:41:44 -0600 Subject: AƱade modelo Address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20230322234003_create_addresses.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 db/migrate/20230322234003_create_addresses.rb (limited to 'db/migrate/20230322234003_create_addresses.rb') diff --git a/db/migrate/20230322234003_create_addresses.rb b/db/migrate/20230322234003_create_addresses.rb new file mode 100644 index 0000000..ff36085 --- /dev/null +++ b/db/migrate/20230322234003_create_addresses.rb @@ -0,0 +1,13 @@ +class CreateAddresses < ActiveRecord::Migration[7.0] + def change + create_table :addresses do |t| + t.string :number + t.string :street + t.string :zip_code + t.string :country + t.string :city + + t.timestamps + end + end +end -- cgit v1.2.3