Developer
  • Projects
  • Docs
  • Blog
  • Forum
  • Builds
  • BLENDER.ORG

    • Download

      Get the latest Blender, older versions, or experimental builds.

    • What's New

      Stay up-to-date with the new features in the latest Blender releases.

    LEARNING & RESOURCES

    • Blender Studio

      Access production assets and knowledge from the open movies.

    • Manual

      Documentation on the usage and features in Blender.

    DEVELOPMENT

    • Developers Blog

      Latest development updates, by Blender developers.

    • Documentation

      Guidelines, release notes and development docs.

    • Benchmark

      A platform to collect and share results of the Blender Benchmark.

    • Blender Conference

      The yearly event that brings the community together.

    DONATE

    • Development Fund

      Support core development with a monthly contribution.

    • One-time Donations

      Perform a single donation with more payment options available.

Logo
Explore
Products
Blender User Manual Developer Documentation
Blender Benchmark
Blender Studio Tools Flamenco Watchtower
Modules
Animation & Rigging Asset System Core Grease Pencil Modeling Nodes & Physics Pipeline & I/O Platforms & Builds Python API & Text Editor Sculpt, Paint & Texture Triaging User Interface VFX & Video
Rendering
Render & Cycles Viewport & EEVEE
Report a Bug Paste Code Help
Sign In
archive/phabricator
1
0
Fork 0
You've already forked phabricator
Code Issues 1 Pull Requests Packages Projects Releases Wiki Activity
Files
d67b7f0f47c4559c4714becafef3854a43ccfaa2
phabricator/resources/sql/autopatches/20141002.schema.02.draftnull.sql

3 lines
74 B
MySQL
Raw Normal View History

Correct column mutations for old versions of MySQL Summary: Ref T1191. Although I fixed some of the mutations earlier (in D10598), I missed the column mutations under old versions of MySQL. In particular, this isn't valid: - `ALTER TABLE ... MODIFY columnName VARCHAR(64) COLLATE binary` Issue the permitted version of this instead, which is: - `ALTER TABLE ... MODIFY columnName VARBINARY(64)` Also fixed an issue where a clean schema had the wrong nullability for a column in the draft table. Force it to the expected nullability. The other trick here is around the one column with a FULLTEXT index on it, which needs a little massaging. Test Plan: - Forced my local install to return `false` for utf8mb4 support. - Did a clean adjust into `binary` columns. - Poked around, added emoji to things. - Reverted the fake check and did a clean adjust into `utf8mb4` columns. - Emoji survived. Reviewers: btrahan Reviewed By: btrahan Subscribers: fabe, epriestley Maniphest Tasks: T1191 Differential Revision: https://secure.phabricator.com/D10627
2014-10-02 14:44:22 -07:00
ALTER TABLE {$NAMESPACE}_draft.draft
MODIFY metadata LONGTEXT NOT NULL;
Reference in New Issue Copy Permalink
Powered by Gitea Page: 38ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API