MYSQL kullanarak slug yapısnı sql tarafından oluşturma.
UPDATE stations SET slug = LOWER( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE( REPLACE(slug, ' ', '-'), 'ğ', 'g'), 'ü', 'u'), 'ş', 's'), 'ı', 'i'), 'ö', 'o'), 'ç', 'c'), 'Ğ', 'g'), 'Ü', 'u'), 'Ş', 's'), 'İ', 'i'), 'Ö', 'o'), 'Ç', 'c'), '.', ''), ',', ''), '?', '') );