Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
feat: SketchUp klasik arayuzu, kisayollar, VCB olcu kutusu ve YakNet 3B bilesen havuzu
This commit is contained in:
@@ -101,6 +101,31 @@ if (!function_exists('snapcad_apply_schema')) {
|
||||
window_start DATETIME NOT NULL,
|
||||
INDEX idx_rate_window (window_start)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS snapcad_shared_components (
|
||||
id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
|
||||
component_uid VARCHAR(64) NOT NULL,
|
||||
user_id BIGINT UNSIGNED NOT NULL,
|
||||
author_name VARCHAR(255) NOT NULL DEFAULT 'YakNet Kullanıcısı',
|
||||
title VARCHAR(255) NOT NULL DEFAULT 'Adsız Bileşen',
|
||||
category VARCHAR(120) NOT NULL DEFAULT 'Genel 3B Bileşen',
|
||||
description TEXT DEFAULT NULL,
|
||||
shapes_json LONGTEXT NOT NULL,
|
||||
shapes_count INT NOT NULL DEFAULT 1,
|
||||
is_public TINYINT(1) NOT NULL DEFAULT 1,
|
||||
downloads_count INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
UNIQUE KEY uq_component_uid (component_uid),
|
||||
INDEX idx_comp_public_updated (is_public, updated_at),
|
||||
INDEX idx_comp_user (user_id, updated_at)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS snapcad_user_prefs (
|
||||
user_id BIGINT UNSIGNED NOT NULL PRIMARY KEY,
|
||||
prefs_json MEDIUMTEXT NOT NULL,
|
||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
");
|
||||
|
||||
// Geriye dönük şema güncellemeleri. Sütun varsa DDL çalıştırılmaz.
|
||||
|
||||
Reference in New Issue
Block a user