spade-fork/db/db.app_metadata_createTable.sql @ b00ca083
1 |
if not exists (select * from sysobjects where name='app_metadata' and xtype='U') |
---|---|
2 |
|
3 |
create table app_metadata ( |
4 |
id int identity(1, 1), |
5 |
appDataKey nvarchar(255), |
6 |
appDataValue nvarchar(max) |
7 |
)
|
8 |
|
9 |
go
|
10 |
|
11 |
insert into app_metadata (appDataKey, appDataValue) |
12 |
values
|
13 |
('basics', N'[ |
14 |
{
|
15 |
"version": "1.0.0",
|
16 |
"authors": [
|
17 |
{
|
18 |
"name": "Ondřej Váně",
|
19 |
"email": "vaneo@students.zcu.cz"
|
20 |
}
|
21 |
],
|
22 |
"description": "This application is used to detect presence of anti-patterns in project management tools data. Seven selected anti-patterns are implemented in this application."
|
23 |
},
|
24 |
{
|
25 |
"version": "1.1.0",
|
26 |
"authors": [
|
27 |
{
|
28 |
"name": "Ondřej Váně",
|
29 |
"email": "vaneo@students.zcu.cz"
|
30 |
}
|
31 |
],
|
32 |
"description": "This application is used to detect presence of anti-patterns in project management tools data. Seven selected anti-patterns are implemented in this application."
|
33 |
},
|
34 |
{
|
35 |
"version": "1.2.0",
|
36 |
"authors": [
|
37 |
{
|
38 |
"name": "Petr Štěpánek",
|
39 |
"email": "petrs1@students.zcu.cz"
|
40 |
}
|
41 |
],
|
42 |
"description": "This application is used to detect presence of anti-patterns in project management tools data. Ten selected anti-patterns are implemented in this application."
|
43 |
},
|
44 |
{
|
45 |
"version": "2.0.0",
|
46 |
"authors": [
|
47 |
{
|
48 |
"name": "Petr Štěpánek",
|
49 |
"email": "petrs1@students.zcu.cz"
|
50 |
},
|
51 |
{
|
52 |
"name": "Petr Urban",
|
53 |
"email": "urbanp@students.zcu.cz"
|
54 |
},
|
55 |
{
|
56 |
"name": "Jiří Trefil",
|
57 |
"email": "trefil@students.zcu.cz"
|
58 |
},
|
59 |
{
|
60 |
"name": "Václav Hrabík",
|
61 |
"email": "hrabikv@students.zcu.cz"
|
62 |
}
|
63 |
],
|
64 |
"description": "TODO"
|
65 |
}
|
66 |
]') |
67 |
|