testy/db/migrate/20260517111107_create_stores.rb
Mohammad Kanaan 2cc3c1a7dd
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
initial commit
2026-05-17 14:12:43 +03:00

12 lines
261 B
Ruby

class CreateStores < ActiveRecord::Migration[8.0]
def change
create_table :stores do |t|
t.string :name
t.float :latitude
t.float :longitude
t.references :chain, null: false, foreign_key: true
t.timestamps
end
end
end