Sha256: ba6176cdb810d7f0d3c9db07cb3b5c3a8d5e7c3fbe7383047e5732bcc603ec9d
Contents?: true
Size: 464 Bytes
Versions: 16
Compression:
Stored size: 464 Bytes
Contents
class LandablePagesAddUpdatedBy < Landable::Migration def change add_column "#{Landable.configuration.database_schema_prefix}landable.pages", :updated_by_author_id, :uuid execute <<-SQL ALTER TABLE #{Landable.configuration.database_schema_prefix}landable.pages ADD CONSTRAINT updated_author_fk FOREIGN KEY(updated_by_author_id) REFERENCES #{Landable.configuration.database_schema_prefix}landable.authors(author_id) SQL end end
Version data entries
16 entries across 16 versions & 1 rubygems