diff options
author | Camil Staps | 2015-05-14 11:18:12 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-14 11:18:12 +0200 |
commit | a012ea9e7d5dd0baadb549e1460a8339224f37a5 (patch) | |
tree | a74414754eb8d00d21d92d1ca5be274235ac8e52 /src/CamilStaps/BotleaguesApi/Database/Bot.php | |
parent | Password reminders start (diff) |
Own Model class; new namespaces Database and Controllers; RFC2822 dates
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/Database/Bot.php')
-rw-r--r-- | src/CamilStaps/BotleaguesApi/Database/Bot.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CamilStaps/BotleaguesApi/Database/Bot.php b/src/CamilStaps/BotleaguesApi/Database/Bot.php new file mode 100644 index 0000000..f0be0fc --- /dev/null +++ b/src/CamilStaps/BotleaguesApi/Database/Bot.php @@ -0,0 +1,9 @@ +<?php +namespace CamilStaps\BotleaguesApi\Database; + +class Bot extends Model { + + protected $table = 'bots'; + protected $fillable = ['userId', 'gameId', 'title']; + +}
\ No newline at end of file |