Adds initial progress
This commit is contained in:
commit
a0b668cb90
34 changed files with 2680 additions and 0 deletions
13
source/Database/DatabaseDefinition.ts
Normal file
13
source/Database/DatabaseDefinition.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
export type DatabaseColumnDefinition = {
|
||||
name: string;
|
||||
type: string;
|
||||
primaryKey?: boolean;
|
||||
autoIncrement?: boolean;
|
||||
notNull?: boolean;
|
||||
options?: string;
|
||||
}
|
||||
|
||||
export type DatabaseDefinition = {
|
||||
name: string;
|
||||
columns: DatabaseColumnDefinition[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue