Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix(sql-script): change ddl to be sql-script (#710)
Jonathan Fishner487fb2d5c17b
diff --git a/src/dialogs/common/import-database/import-database.tsx b/src/dialogs/common/import-database/import-database.tsxindex d58d1a8f..fc17736d 100644--- a/src/dialogs/common/import-database/import-database.tsx+++ b/src/dialogs/common/import-database/import-database.tsx@@ -298,7 +298,7 @@ export const ImportDatabase: React.FC<ImportDatabaseProps> = ({<div className="w-full text-center text-xs text-muted-foreground">{importMethod === 'query'? 'Smart Query Output'- : 'SQL DDL'}+ : 'SQL Script'}</div><div className="flex-1 overflow-hidden"><Suspense fallback={<Spinner />}>diff --git a/src/dialogs/common/import-database/instructions-section/instructions-section.tsx b/src/dialogs/common/import-database/instructions-section/instructions-section.tsxindex a98d635b..051a5ed6 100644--- a/src/dialogs/common/import-database/instructions-section/instructions-section.tsx+++ b/src/dialogs/common/import-database/instructions-section/instructions-section.tsx@@ -151,7 +151,7 @@ export const InstructionsSection: React.FC<InstructionsSectionProps> = ({<Avatar className="size-4 rounded-none"><Code size={16} /></Avatar>- DDL+ SQL Script</ToggleGroupItem></ToggleGroup></div>diff --git a/src/i18n/locales/ar.ts b/src/i18n/locales/ar.tsindex f317eece..9d04155f 100644--- a/src/i18n/locales/ar.ts+++ b/src/i18n/locales/ar.ts@@ -257,7 +257,7 @@ export const ar: LanguageTranslation = {title: 'إسترد قاعدة بياناتك',database_edition: ':إصدار قاعدة البيانات',step_1: ':قم بتشغيل هذا البرنامج النصي في قاعدة بياناتك',- step_2: ':إلصق نتيجة البرنامج النصي هنا',+ step_2: ':إلصق نتيجة البرنامج النصي هنا →',script_results_placeholder: '...نتيجة البرنامج النصي هنا',ssms_instructions: {button_text: 'SSMS تعليمات',diff --git a/src/i18n/locales/bn.ts b/src/i18n/locales/bn.tsindex 716da530..07772f45 100644--- a/src/i18n/locales/bn.ts+++ b/src/i18n/locales/bn.ts@@ -258,7 +258,7 @@ export const bn: LanguageTranslation = {title: 'আপনার ডাটাবেস আমদানি করুন',database_edition: 'ডাটাবেস সংস্করণ:',step_1: 'আপনার ডাটাবেসে এই স্ক্রিপ্ট চালান:',- step_2: 'স্ক্রিপ্টের ফলাফল এখানে পেস্ট করুন:',+ step_2: 'স্ক্রিপ্টের ফলাফল এখানে পেস্ট করুন →',script_results_placeholder: 'স্ক্রিপ্টের ফলাফল এখানে...',ssms_instructions: {button_text: 'SSMS নির্দেশনা',diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.tsindex 999131a7..dd7c906b 100644--- a/src/i18n/locales/de.ts+++ b/src/i18n/locales/de.ts@@ -260,7 +260,7 @@ export const de: LanguageTranslation = {title: 'Datenbank importieren',database_edition: 'Datenbank Edition:',step_1: 'Führen Sie dieses Skript in Ihrer Datenbank aus:',- step_2: 'Fügen Sie das Skriptergebnis hier ein:',+ step_2: 'Fügen Sie das Skriptergebnis hier ein →',script_results_placeholder: 'Skriptergebnisse hier...',ssms_instructions: {button_text: 'SSMS Anweisungen',diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.tsindex 5a55eca5..7cefb47f 100644--- a/src/i18n/locales/en.ts+++ b/src/i18n/locales/en.ts@@ -252,7 +252,7 @@ export const en = {title: 'Import your Database',database_edition: 'Database Edition:',step_1: 'Run this script in your database:',- step_2: 'Paste the script result into this modal.',+ step_2: 'Paste the script result into this modal →',script_results_placeholder: 'Script results here...',ssms_instructions: {button_text: 'SSMS Instructions',diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.tsindex b7a180ba..3f2037e8 100644--- a/src/i18n/locales/es.ts+++ b/src/i18n/locales/es.ts@@ -248,7 +248,7 @@ export const es: LanguageTranslation = {title: 'Importa tu Base de Datos',database_edition: 'Edición de Base de Datos:',step_1: 'Ejecuta este script en tu base de datos:',- step_2: 'Pega el resultado del script aquí:',+ step_2: 'Pega el resultado del script aquí →',script_results_placeholder: 'Resultados del script aquí...',ssms_instructions: {button_text: 'Instrucciones SSMS',diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.tsindex de3f150f..8a8e7ead 100644--- a/src/i18n/locales/fr.ts+++ b/src/i18n/locales/fr.ts@@ -246,7 +246,7 @@ export const fr: LanguageTranslation = {title: 'Importer votre Base de Données',database_edition: 'Édition de la Base de Données :',step_1: 'Exécutez ce script dans votre base de données :',- step_2: 'Collez le résultat du script ici :',+ step_2: 'Collez le résultat du script ici →',script_results_placeholder: 'Résultats du script ici...',ssms_instructions: {button_text: 'Instructions SSMS',diff --git a/src/i18n/locales/gu.ts b/src/i18n/locales/gu.tsindex 669c842f..caab7808 100644--- a/src/i18n/locales/gu.ts+++ b/src/i18n/locales/gu.ts@@ -258,7 +258,7 @@ export const gu: LanguageTranslation = {title: 'તમારું ડેટાબેસ આયાત કરો',database_edition: 'ડેટાબેસ આવૃત્તિ:',step_1: 'તમારા ડેટાબેસમાં આ સ્ક્રિપ્ટ ચલાવો:',- step_2: 'સ્ક્રિપ્ટનો પરિણામ અહીં પેસ્ટ કરો:',+ step_2: 'સ્ક્રિપ્ટનો પરિણામ અહીં પેસ્ટ કરો →',script_results_placeholder: 'સ્ક્રિપ્ટના પરિણામ અહીં...',ssms_instructions: {button_text: 'SSMS સૂચનાઓ',diff --git a/src/i18n/locales/hi.ts b/src/i18n/locales/hi.tsindex 358e6862..01f44d74 100644--- a/src/i18n/locales/hi.ts+++ b/src/i18n/locales/hi.ts@@ -259,7 +259,7 @@ export const hi: LanguageTranslation = {title: 'अपना डेटाबेस आयात करें',database_edition: 'डेटाबेस संस्करण:',step_1: 'अपने डेटाबेस में यह स्क्रिप्ट चलाएँ:',- step_2: 'यहाँ स्क्रिप्ट का परिणाम पेस्ट करें:',+ step_2: 'यहाँ स्क्रिप्ट का परिणाम पेस्ट करें →',script_results_placeholder: 'स्क्रिप्ट के परिणाम यहाँ...',ssms_instructions: {button_text: 'SSMS निर्देश',diff --git a/src/i18n/locales/id_ID.ts b/src/i18n/locales/id_ID.tsindex 8a6621d2..61957ac6 100644--- a/src/i18n/locales/id_ID.ts+++ b/src/i18n/locales/id_ID.ts@@ -257,7 +257,7 @@ export const id_ID: LanguageTranslation = {title: 'Impor Database Anda',database_edition: 'Edisi Database:',step_1: 'Jalankan skrip ini di database Anda:',- step_2: 'Tempel hasil skrip di sini:',+ step_2: 'Tempel hasil skrip di sini →',script_results_placeholder: 'Hasil skrip di sini...',ssms_instructions: {button_text: 'Instruksi SSMS',diff --git a/src/i18n/locales/ja.ts b/src/i18n/locales/ja.tsindex df02fb6a..5231eba9 100644--- a/src/i18n/locales/ja.ts+++ b/src/i18n/locales/ja.ts@@ -263,7 +263,7 @@ export const ja: LanguageTranslation = {title: 'データベースをインポート',database_edition: 'データベースエディション:',step_1: 'このスクリプトをデータベースで実行してください:',- step_2: 'ここにスクリプトの結果を貼り付けてください:',+ step_2: 'ここにスクリプトの結果を貼り付けてください →',script_results_placeholder: 'ここにスクリプトの結果...',ssms_instructions: {button_text: 'SSMSの手順',diff --git a/src/i18n/locales/ko_KR.ts b/src/i18n/locales/ko_KR.tsindex 6944a4a2..162a5170 100644--- a/src/i18n/locales/ko_KR.ts+++ b/src/i18n/locales/ko_KR.ts@@ -257,7 +257,7 @@ export const ko_KR: LanguageTranslation = {title: '당신의 데이터베이스를 가져오세요',database_edition: '데이터베이스 세부 종류:',step_1: '데이터베이스에서 아래의 SQL을 실행해주세요:',- step_2: '이곳에 결과를 붙여넣어주세요:',+ step_2: '이곳에 결과를 붙여넣어주세요 →',script_results_placeholder: '이곳에 스크립트 결과를 입력...',ssms_instructions: {button_text: 'SSMS을 사용하시는 경우',diff --git a/src/i18n/locales/mr.ts b/src/i18n/locales/mr.tsindex 6f6cfb33..4c226e8c 100644--- a/src/i18n/locales/mr.ts+++ b/src/i18n/locales/mr.ts@@ -262,7 +262,7 @@ export const mr: LanguageTranslation = {title: 'तुमचा डेटाबेस आयात करा',database_edition: 'डेटाबेस संस्करण:',step_1: 'तुमच्या डेटाबेसमध्ये हा स्क्रिप्ट चालवा:',- step_2: 'स्क्रिप्टचा परिणाम येथे पेस्ट करा:',+ step_2: 'स्क्रिप्टचा परिणाम येथे पेस्ट करा →',script_results_placeholder: 'स्क्रिप्ट परिणाम येथे...',ssms_instructions: {button_text: 'SSMS सूचना',diff --git a/src/i18n/locales/ne.ts b/src/i18n/locales/ne.tsindex d0c02908..4b2eb9d3 100644--- a/src/i18n/locales/ne.ts+++ b/src/i18n/locales/ne.ts@@ -260,7 +260,7 @@ export const ne: LanguageTranslation = {title: 'तपाईंको डाटाबेस आयात गर्नुहोस्',database_edition: 'डाटाबेस संस्करण:',step_1: 'तपाईंको डाटाबेसमा यो स्क्रिप्ट चलाउनुहोस्:',- step_2: 'यो स्क्रिप्ट परिणाम यहाँ पेस्ट गर्नुहोस्:',+ step_2: 'यो स्क्रिप्ट परिणाम यहाँ पेस्ट गर्नुहोस् →',script_results_placeholder: 'स्क्रिप्ट परिणाम यहाँ...',ssms_instructions: {button_text: 'SSMS निर्देशन',diff --git a/src/i18n/locales/pt_BR.ts b/src/i18n/locales/pt_BR.tsindex 6f65e229..60c78d6f 100644--- a/src/i18n/locales/pt_BR.ts+++ b/src/i18n/locales/pt_BR.ts@@ -258,7 +258,7 @@ export const pt_BR: LanguageTranslation = {title: 'Importe seu Banco de Dados',database_edition: 'Edição do Banco de Dados:',step_1: 'Execute este script no seu banco de dados:',- step_2: 'Cole o resultado do script aqui:',+ step_2: 'Cole o resultado do script aqui →',script_results_placeholder: 'Resultados do script aqui...',ssms_instructions: {button_text: 'Instruções do SSMS',diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.tsindex b1e603c5..122ba46d 100644--- a/src/i18n/locales/ru.ts+++ b/src/i18n/locales/ru.ts@@ -255,7 +255,7 @@ export const ru: LanguageTranslation = {title: 'Импортируйте свою базу данных',database_edition: 'Версия базы данных:',step_1: 'Запустите этот скрипт в своей базе данных:',- step_2: 'Вставьте вывод скрипта сюда:',+ step_2: 'Вставьте вывод скрипта сюда →',script_results_placeholder: 'Вывод скрипта здесь...',ssms_instructions: {button_text: 'SSMS Инструкции',diff --git a/src/i18n/locales/te.ts b/src/i18n/locales/te.tsindex d1556334..b54f3d0f 100644--- a/src/i18n/locales/te.ts+++ b/src/i18n/locales/te.ts@@ -259,7 +259,7 @@ export const te: LanguageTranslation = {title: 'మీ డేటాబేస్ను దిగుమతి చేసుకోండి',database_edition: 'డేటాబేస్ ఎడిషన్:',step_1: 'ఈ స్క్రిప్ట్ను మీ డేటాబేస్లో అమలు చేయండి:',- step_2: 'స్క్రిప్ట్ ఫలితాన్ని ఇక్కడ పేస్ట్ చేయండి:',+ step_2: 'స్క్రిప్ట్ ఫలితాన్ని ఇక్కడ పేస్ట్ చేయండి →',script_results_placeholder: 'స్క్రిప్ట్ ఫలితాలు ఇక్కడ...',ssms_instructions: {button_text: 'SSMS సూచనల్ని చూపించు',diff --git a/src/i18n/locales/tr.ts b/src/i18n/locales/tr.tsindex b9d1b8f5..f17c1041 100644--- a/src/i18n/locales/tr.ts+++ b/src/i18n/locales/tr.ts@@ -255,7 +255,7 @@ export const tr: LanguageTranslation = {title: 'Veritabanını İçe Aktar',database_edition: 'Veritabanı Sürümü:',step_1: 'Bu komut dosyasını veritabanınızda çalıştırın:',- step_2: 'Komut dosyası sonucunu buraya yapıştırın:',+ step_2: 'Komut dosyası sonucunu buraya yapıştırın →',script_results_placeholder: 'Komut dosyası sonuçları burada...',ssms_instructions: {button_text: 'SSMS Talimatları',diff --git a/src/i18n/locales/uk.ts b/src/i18n/locales/uk.tsindex 6bd6fe3c..4e7a6551 100644--- a/src/i18n/locales/uk.ts+++ b/src/i18n/locales/uk.ts@@ -256,7 +256,7 @@ export const uk: LanguageTranslation = {title: 'Імпортуйте вашу базу даних',database_edition: 'Варіант бази даних:',step_1: 'Запустіть цей сценарій у своїй базі даних:',- step_2: 'Вставте сюди результат сценарію:',+ step_2: 'Вставте сюди результат сценарію →',script_results_placeholder: 'Результати сценарію має бути тут…',ssms_instructions: {button_text: 'SSMS Інструкції',diff --git a/src/i18n/locales/vi.ts b/src/i18n/locales/vi.tsindex e4e21a11..633bd1bb 100644--- a/src/i18n/locales/vi.ts+++ b/src/i18n/locales/vi.ts@@ -257,7 +257,7 @@ export const vi: LanguageTranslation = {title: 'Nhập cơ sở dữ liệu của bạn',database_edition: 'Loại:',step_1: 'Chạy lệnh này trong cơ sở dữ liệu của bạn:',- step_2: 'Dán kết quả vào đây:',+ step_2: 'Dán kết quả vào đây →',script_results_placeholder: 'Kết quả...',ssms_instructions: {button_text: 'Hướng dẫn SSMS',diff --git a/src/i18n/locales/zh_CN.ts b/src/i18n/locales/zh_CN.tsindex 8101bd3c..2e3b3b00 100644--- a/src/i18n/locales/zh_CN.ts+++ b/src/i18n/locales/zh_CN.ts@@ -253,7 +253,7 @@ export const zh_CN: LanguageTranslation = {title: '导入您的数据库',database_edition: '数据库类型:',step_1: '在您的数据库中执行以下脚本:',- step_2: '将结果粘贴于此:',+ step_2: '将结果粘贴于此 →',script_results_placeholder: '结果...',ssms_instructions: {button_text: 'SSMS 说明',diff --git a/src/i18n/locales/zh_TW.ts b/src/i18n/locales/zh_TW.tsindex 2f475e4a..3f40d76f 100644--- a/src/i18n/locales/zh_TW.ts+++ b/src/i18n/locales/zh_TW.ts@@ -253,7 +253,7 @@ export const zh_TW: LanguageTranslation = {title: '匯入資料庫',database_edition: '資料庫版本:',step_1: '請在資料庫中執行以下腳本:',- step_2: '將腳本結果貼到此處:',+ step_2: '將腳本結果貼到此處 →',script_results_placeholder: '在此處貼上腳本結果...',ssms_instructions: {button_text: 'SSMS 操作步驟',