Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2341

Rename in ALTER statement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Add RENAME functionality in ALTER statement (e.g. similar to PostgreSQL):

      ALTER TABLE name
      RENAME column TO new_column
      ALTER TABLE name
      RENAME TO new_name
      ALTER TABLE name
      SET SCHEMA new_schema

      Reference: http://www.postgresql.org/docs/9.1/static/sql-altertable.html

      Related: PHOENIX-152, PHOENIX-1598 , PHOENIX-1940

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexdl alex kamil
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: