Initial commit

This commit is contained in:
Yaser
2026-08-13 19:56:46 +03:30
commit de1d57a67b
474 changed files with 43185 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class AddStepToPhone < ActiveRecord::Migration[5.2]
def up
add_column :phones, :category, :integer, null: false
add_column :phones, :state, :integer, null: true, default: 0
add_column :phones, :step, :integer, null: true, default: 0
end
def down
remove_column :phones, :category
remove_column :phones, :state
remove_column :phones, :step
end
end