db/migrate/4_roles.rb in super_auth-0.1.3 vs db/migrate/4_roles.rb in super_auth-0.1.4

- old
+ new

@@ -1,10 +1,10 @@ Sequel.migration do change do - create_table(:roles) do + create_table?(:super_auth_roles) do primary_key :id String :name, null: false - foreign_key :parent_id, :roles, deferrable: true, type: :integer + foreign_key :parent_id, :super_auth_roles, deferrable: true, type: :integer DateTime :created_at, null: false, default: Sequel::CURRENT_TIMESTAMP DateTime :updated_at, null: false, default: Sequel::CURRENT_TIMESTAMP end end end