New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle atomicity #2
Comments
To feed the discussion We should really avoid custom tables, I will start on a branch that tries to stick to the API. Entity instances uuid (e.g. node.uuid) can replace the serial_*. uniqid, right ? Feedback really appreciated, especially on this
|
The schema and update hooks have to be converted.
The module does not create any table on install. It triggers table creation while creating a field on a content type. The table created is then "serial_" suffixed with a md5 generated string 'serial_' . md5("{$entity_type}{$bundle}{$field_name}").
There was already a todo left under D7 about improving this naming convention.
The table columns are sid - primary key ("The atomic serial field") and uniqid - unique key ("Unique temporary allocation Id") that relies on http://php.net/manual/en/function.uniqid.php.
The text was updated successfully, but these errors were encountered: