PHPackages                             sunnysideup/migrate-from-fqcn-to-short-tablename - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. sunnysideup/migrate-from-fqcn-to-short-tablename

ActiveSilverstripe-vendormodule[Database &amp; ORM](/categories/database)

sunnysideup/migrate-from-fqcn-to-short-tablename
================================================

If you have bad table names (using FQCN) then this method will fix up your tables to be short table names, and migrate the data.

022PHP

Since May 5Pushed 1mo agoCompare

[ Source](https://github.com/sunnysideup/silverstripe-migrate-from-fqcn-to-short-tablename)[ Packagist](https://packagist.org/packages/sunnysideup/migrate-from-fqcn-to-short-tablename)[ RSS](/packages/sunnysideup-migrate-from-fqcn-to-short-tablename/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Migrate tables from FQCN to Short Tablename
===========================================

[](#migrate-tables-from-fqcn-to-short-tablename)

[![Build Status](https://camo.githubusercontent.com/dfcf6db1686b86365f0e0ec620154ef4346a7412ac752bf59ab6a20f9d1fcd7c/68747470733a2f2f7472617669732d63692e6f72672f73756e6e797369646575702f73696c7665727374726970652d6d6967726174652d66726f6d2d6671636e2d746f2d73686f72742d7461626c656e616d652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sunnysideup/silverstripe-migrate-from-fqcn-to-short-tablename)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3f420a1d4cc67483c2e46716b7d13b6f638e7dd26194e35da4f3c7ca855ec601/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73756e6e797369646575702f73696c7665727374726970652d6d6967726174652d66726f6d2d6671636e2d746f2d73686f72742d7461626c656e616d652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sunnysideup/silverstripe-migrate-from-fqcn-to-short-tablename/?branch=master)[![codecov.io](https://camo.githubusercontent.com/be01cf38a915f807eacd4e7d894769b8a738e4d7e55c90f013b3ec6e2f1e7af8/68747470733a2f2f636f6465636f762e696f2f6769746875622f73756e6e797369646575702f73696c7665727374726970652d6d6967726174652d66726f6d2d6671636e2d746f2d73686f72742d7461626c656e616d652f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/sunnysideup/silverstripe-migrate-from-fqcn-to-short-tablename?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/428f1b26ae7dcf510977d47cd11673fb67812c5d81fd36e05fd4990e69b92174/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f6d6967726174652d66726f6d2d6671636e2d746f2d73686f72742d7461626c656e616d652f76657273696f6e)](https://packagist.org/packages/sunnysideup/migrate-from-fqcn-to-short-tablename)[![License](https://camo.githubusercontent.com/d7fe15160da4da704afb6eb0b3de32663901797d4c4ae84c6464d9a474c4f339/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f6d6967726174652d66726f6d2d6671636e2d746f2d73686f72742d7461626c656e616d652f6c6963656e7365)](https://packagist.org/packages/sunnysideup/migrate-from-fqcn-to-short-tablename)[![Monthly Downloads](https://camo.githubusercontent.com/212899e93d71b627a7bc19b0b6ae580363e1c7dcbbb7e5adc14631620aa65901/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f6d6967726174652d66726f6d2d6671636e2d746f2d73686f72742d7461626c656e616d652f642f6d6f6e74686c79)](https://packagist.org/packages/sunnysideup/migrate-from-fqcn-to-short-tablename)

Documentation
-------------

[](#documentation)

- [Developer Docs](docs/en/INDEX.md)
- [User Guide](docs/en/userguide.md)
- [API Docs](http://docs.ssmods.com/sunnysideup/migrate-from-fqcn-to-short-tablename/classes.xhtml)

Requirements
------------

[](#requirements)

See [composer.json](composer.json) for details.

### Suggested modules

[](#suggested-modules)

See [composer.json](composer.json) for details.

Installation
------------

[](#installation)

```
composer require sunnysideup/migrate-from-fqcn-to-short-tablename
```

### Configuration

[](#configuration)

In the `_config` folder you will find the `migrate-from-fqcn-to-short-tablename.yml.example`file that shows options for the configuration of this module.

We recommend that you:

1. copy these `migrate-from-fqcn-to-short-tablename.yml.example` files into your `app/_config` folder (where available - otherwise search for `private static $` in the module to see what can be configured)
2. remove the .example extension,
3. delete the lines you do not care about, and
4. adjust the configurations that you would like to use.

Contributing
------------

[](#contributing)

We welcome any contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

Paid assistance
---------------

[](#paid-assistance)

You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: [www.sunnysideup.co.nz](https://www.sunnysideup.co.nz). For example, we can write tests for this module.

Author
------

[](#author)

Sunny Side Up Ltd.

Looking for Silverstripe Modules?
---------------------------------

[](#looking-for-silverstripe-modules)

To find other modules, please visit [ssmods.com](https://ssmods.com/).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance61

Regular maintenance activity

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

### Embed Badge

![Health badge](/badges/sunnysideup-migrate-from-fqcn-to-short-tablename/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-migrate-from-fqcn-to-short-tablename/health.svg)](https://phpackages.com/packages/sunnysideup-migrate-from-fqcn-to-short-tablename)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8361.6M87](/packages/propel-propel1)[mpociot/laravel-composite-key

Support composite keys in your laravel app.

3544.8k1](/packages/mpociot-laravel-composite-key)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
