Добавление миграций БД и моделей
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class CreateAuditors < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :auditors do |t|
|
||||
t.string :name
|
||||
t.string :inn
|
||||
t.string :ogrn
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :auditors, :inn
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user