Hello, I'm trying to import some tables already created by Phpmyadmin and also the content of the tables but I don't know how to do that. Tutorials couldn't help me to understand everything.
AS far as I know, if I add the next code in /mysite/code/Station.php, it should create automatically a Database when running /dev/build?flush=1, but it stops at some point while its creating the tables
<?php
class Project extends DataObject{
private static $db = array(
"ame_station" => "Varchar",
"changue_stations" => "Varchar",
"distance" => "Varchar"
);
}
?>
Why is it not working?
I just started with silverstripe... And I would like to know which options I have to import those tables, maybe first I have create the properly classes and then make SQL sentences to Insert into the tables(?),. If u don't mind please, make simple explanations becouse I'm quite lost. Thank you so much.