Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
class CreateTriggers < ActiveRecord::Migration[5.2]
def change
create_table :triggers do |t|
t.references :order, null: false, index: true
t.integer :order_type, null: false, index: true, limit: 1, unsigned: true
t.binary :value, null: false, limit: 128
t.integer :state, null: false, default: 0, index: true, limit: 1, unsigned: true
t.timestamps
end
end
end