Kompanije rade
This commit is contained in:
17
db/migrate/20240518200749_create_companies.rb
Normal file
17
db/migrate/20240518200749_create_companies.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class CreateCompanies < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :companies do |t|
|
||||
t.string :name
|
||||
t.string :id_number
|
||||
t.string :vat_number
|
||||
t.string :address_line_one
|
||||
t.string :address_line_two
|
||||
t.string :postal_code
|
||||
t.string :city
|
||||
t.string :entity
|
||||
t.string :country
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user