Skip to content
This repository was archived by the owner on May 13, 2022. It is now read-only.
This repository was archived by the owner on May 13, 2022. It is now read-only.

Primary key default value missing in schema dump #156

@felixbuenemann

Description

@felixbuenemann

The default value for primary keys is lost when dumping the schema with schema_plug 1.5.1 and rails 4.1.2rc1 in a project that uses uuids:

-  create_table "assets", id: :uuid, default: "uuid_generate_v4()", force: true do |t|
+  create_table "assets", id: :uuid, force: true do |t|

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions