about summary refs log tree commit diff
path: root/laravel/app/Song.php
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@gmail.com>2018-12-26 12:29:49 -0500
committerZach DeCook <zachdecook@gmail.com>2018-12-26 12:29:49 -0500
commit83b5a599c9859dae70baf29fd57c8d5e19507ea9 (patch)
tree3414718f8f8af399ccf7c95a6c7fb04210e70e01 /laravel/app/Song.php
parent97e82af677235e991b2f580794fe728358569b0a (diff)
downloadprosongsa-83b5a599c9859dae70baf29fd57c8d5e19507ea9.tar.gz
* Database: Allow songs to be imported from a textfile
Diffstat (limited to 'laravel/app/Song.php')
-rw-r--r--laravel/app/Song.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/laravel/app/Song.php b/laravel/app/Song.php
new file mode 100644
index 0000000..876617f
--- /dev/null
+++ b/laravel/app/Song.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace App;
+
+use Illuminate\Database\Eloquent\Model;
+
+class Song extends Model
+{
+	public $fillable = ['number', 'title', 'author', 'key', 'text'];
+    //
+}