Skip to content

Commit

Permalink
fix ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrock-adam committed Sep 7, 2024
1 parent caa337c commit 01e7762
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/migrate/create_outboxer_exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CreateOutboxerExceptions < ActiveRecord::Migration[6.1]
def up
ActiveRecord::Base.transaction do
create_table :outboxer_exceptions do |t|
t.references :message, null: false, foreign_key: { to_table: :outboxer_messages }
t.references :message, foreign_key: { to_table: :outboxer_messages }, null: false

t.string :class_name, limit: 255, null: false
t.text :message_text, null: false
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/create_outboxer_frames.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class CreateOutboxerFrames < ActiveRecord::Migration[6.1]
def up
create_table :outboxer_frames do |t|
t.references :exception, null: false, foreign_key: { to_table: :outboxer_exceptions }
t.references :exception, foreign_key: { to_table: :outboxer_exceptions },null: false

t.integer :index, null: false
t.text :text, null: false
Expand Down

0 comments on commit 01e7762

Please sign in to comment.