Closed luronumen closed 3 years ago
I'm separated DB Trigger, DDL Trigger and Trigger, but can't generate script for DDL Trigger because rdb$types not defined this rdb$trigger_types See https://github.com/Jdochoa/flamerobin/tree/FB3
Just to congrat @Jdochoa It's looking great!
My suggestions is:
Here the full list:
Here is the Red Expert as reference:
* Hide **System tables** and **System domains**
* Rename _Generators_ to **Sequences**
After 20 years of working with FireBird > It would be a pain looking for "Generators" in the list, but not finding them. But maybe it would be OK, to enhance it: GENERATORS / SEQUENCES or: GENERATORS (SEQUENCES)
Maybe later there would be an option at the global-settings of FlameRobin: [ x ] "Use the word "sequence" instead of generator.
if someone is checking that >> everything would be replaced visually. But that would also create lot's of problems. (Like: opening an old DB, or someone is trying to write "create sequence ...", also the auto-script system...)
* Add **Indexes** node
That's a great idea! :+1:
I'm separated DB Trigger, DDL Trigger and Trigger...
@Jdochoa Why not putting them in a SUB-tree folder ? (And create +1 folder in the 1. place to show ALL.)
[-] Triggers
[-] ALL Triggers
CONN1_TR
...
[+] Database Triggers
[+] DDL Triggers
[+] Table Triggers
So everyone would see ALL, making it easy to find one by name in ABC order.
Separating them so "far from each other" makes much more difficult to find ONE trigger by name! (Also, at first sight nobody can see there are more folders that would normally need somehow "stick together".)
By default > if you click [+] sign next to the Main folder >> the "ALL Triggers" sub-tree should auto-open to show ALL.
If it's too difficult to make sub-sub tree-folders, at least rename them, so these be sorted after each other: TRIGGERS - ALL TRIGGERS for Database ...
Just my thoughts: I liked this idea:
[-] Triggers
[-] ALL Triggers
CONN1_TR
...
[+] Database Triggers
[+] DDL Triggers
[+] Table Triggers
Maybe I would just change the subfolder pattern, you don't need to reinforce that "All" , "Database", "DDL" and "Table" refers to triggers, they are already inside triggers, doesn't change a lot, but "less is more" ;)
[-] Triggers
[-] ALL
CONN1_TR
...
[+] Database
[+] DDL
[+] Table
I agree with Rename FunctionSQLs for just Functions
, but maybe for now, keep like this because "Functions" where used for UDFs and this kind of changes goes easy for a bug/miss-renaming or something like that if you don't take care enough
System Tables exists from along time, I disagree with removing it ... for now, it's it :) Thanks for your effort helping Flamerobin
Hi all
- Hide System tables and System domains: This is configurable in preferences database.
- Add Indexes node: It's a good idea, I'll work on it - Rename FunctionSQLs for just Functions: I agree. - Put them in a SUB-tree folder: I agree. - Rename Global temporary tables for just Global Temporaries: I agree, i change it. - Rename Generators to Sequences: I'm not sure. I'm think we should keep backward compatibility with FB and FR.
Hi @PizzaProgram , @arvanus and @Jdochoa
Let's leave GENERATORS for now instead of SEQUENCES. We think better about this change in the bug #54
For a better organization of the triggers we can do as PizzaProgram suggested:
[-] Triggers [+] Database [+] DDL [+] Table
Best Regards, Luciano
Retest result on FlameRobin 0.9.3.8 Snapshot: Passed!
Thank you very much for the fix!
Please separate the triggers in 2 nodes: "Triggers" for table triggers and "Database Triggers" for the database triggers (See RedExpert tool as reference):