repo.or.cz
/
akelos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding tests for securing private variable inclussion on templates.
[akelos.git]
/
test
/
fixtures
/
app
/
installers
/
todo_list_installer.php
blob
dbf3f58e828a5948cb311c864b127f60cb37aa00
1
<
?php
2
3
class
TodoListInstaller
extends
AkInstaller
4
{
5
function
up_1
()
6
{
7
$this
->
createTable
(
'todo_lists'
,
"
8
id,
9
name,
10
description,
11
position integer default 1,
12
created_at"
);
13
}
14
15
function
down_1
()
16
{
17
$this
->
dropTable
(
'todo_lists'
,
array
(
'sequence'
=>
true
));
18
}
19
20
}
21
22
?
>