Skip to content

Commit

Permalink
BUG FIX: revert column name
Browse files Browse the repository at this point in the history
  • Loading branch information
JuzerShakir committed Apr 30, 2024
1 parent 8bd2ce1 commit c949347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20221217105012_create_transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CreateTransactions < ActiveRecord::Migration[7.0]
def change
create_table :transactions do |t|
t.references :thaali, null: false, foreign_key: true
t.integer :receipt_number, null: false, index: {unique: true}
t.integer :recipe_no, null: false, index: {unique: true}
t.integer :mode, null: false
t.integer :amount, null: false
t.date :date, null: false
Expand Down

0 comments on commit c949347

Please sign in to comment.