|
Revision 894
(checked in by goldoraf, 2 years ago)
|
Major improvements of notifier demo app
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
return array |
|---|
| 4 |
( |
|---|
| 5 |
new STable('statuses', array( |
|---|
| 6 |
new SColumn('id', SColumn::PK), |
|---|
| 7 |
new SColumn('text', SColumn::TEXT), |
|---|
| 8 |
new SColumn('timestamp', SColumn::TIMESTAMP), |
|---|
| 9 |
new SColumn('sender_id', SColumn::INTEGER) |
|---|
| 10 |
)), |
|---|
| 11 |
new STable('users', array( |
|---|
| 12 |
new SColumn('id', SColumn::PK), |
|---|
| 13 |
new SColumn('name', SColumn::STRING), |
|---|
| 14 |
new SColumn('email', SColumn::STRING), |
|---|
| 15 |
new SColumn('pwd', SColumn::STRING) |
|---|
| 16 |
)), |
|---|
| 17 |
new STable('friendships', array( |
|---|
| 18 |
new SColumn('user_id', SColumn::INTEGER), |
|---|
| 19 |
new SColumn('friend_id', SColumn::INTEGER) |
|---|
| 20 |
)) |
|---|
| 21 |
); |
|---|
| 22 |
|
|---|
| 23 |
?> |
|---|
| 24 |
|
|---|